Skip to content

Commit e7f760c

Browse files
committed
Replace boilerplate with liquid tags
1 parent 65962b9 commit e7f760c

21 files changed

+49
-15
lines changed

docs/_includes/click.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<em>Click on icons for more information</em>

docs/_includes/click_cc.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<em>Click on individual districts for council member contact information</em>

docs/_includes/click_choro.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<em>Click or hover on map for more information</em>

docs/_includes/slow_load.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<em>Note that this may take a few seconds to load.</em>

docs/content/citycouncil/citycouncil_cyclist.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ hide_hero: true
77
# Vehicle Collisions with Cyclists by NYC City Council District
88
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
99

10-
_Click on individual districts for council member contact information_
10+
{% include click_cc.html %}
1111
<iframe src="district_cyclist_map.html" title="Choropleth map of collisions with cyclists by NYC City Council District"></iframe>
1212
{% include analysis_data_range.html %}

docs/content/citycouncil/citycouncil_fatal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ hide_hero: true
77
# Fatal Vehicle Collisions by NYC City Council District
88
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
99

10-
_Click on individual districts for council member contact information_
10+
{% include click_cc.html %}
1111
<iframe src="district_fatal_map.html" title="Choropleth map of fatal collisions by NYC City Council District"></iframe>
1212
{% include analysis_data_range.html %}

docs/content/citycouncil/citycouncil_pedestrian.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ hide_hero: true
77
# Vehicle Collisions with Pedestrians by NYC City Council District
88
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
99

10-
_Click on individual districts for council member contact information_
10+
{% include click_cc.html %}
1111
<iframe src="district_pedestrian_map.html" title="Choropleth map of collisions with pedestrians by NYC City Council District"></iframe>
1212
{% include analysis_data_range.html %}

docs/content/citycouncil/citycouncil_serious.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Serious collisions are collisions that result in injury or death.
99

1010
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1111

12-
_Click on individual districts for council member contact information_
12+
{% include click_cc.html %}
1313
<iframe src="district_serious_map.html" title="Choropleth map of serious collisions by NYC City Council District"></iframe>
1414
{% include analysis_data_range.html %}

docs/content/hotspots/clusters_non_motor.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ hide_hero: true
77
# Dangerous Areas for Pedestrians and Cyclists
88
Dangerous areas for pedestrians and cyclists are clusters of collisions with a high number of pedestrian / cyclist injuries and deaths from vehicle collisions. Clusters were identified by tuning a density-based clustering algorithm.
99

10-
_Note that this may take a few seconds to load._
10+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
11+
12+
{% include slow_load.html %}
13+
14+
{% include click.html %}
1115
<iframe src="clusters_non_motor_map.html" title="Marker cluster map identifying areas with a high density of collisions with pedestrians in New York City"></iframe>
1216
{% include map_data_range_full.html %}

docs/content/hotspots/clusters_serious.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ hide_hero: true
77
# Dangerous Areas
88
Dangerous areas are clusters of collisions with a high number of injuries and deaths from vehicle collisions. Clusters were identified by tuning a density-based clustering algorithm.
99

10-
_Note that this may take a few seconds to load._
10+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
11+
12+
{% include slow_load.html %}
13+
14+
{% include click.html %}
1115
<iframe src="clusters_serious_map.html" title="Marker cluster map identifying areas with a high density of serious collisions in New York City"></iframe>
1216
{% include map_data_range_full.html %}

docs/content/hotspots/points_non_motor.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ hide_hero: true
77
# Dangerous Locations for Pedestrians and Cyclists
88
Single points with a high number of pedestrian / cyclist injuries and deaths from vehicle collisions.
99

10+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
11+
12+
{% include click.html %}
1013
<iframe src="points_serious_map.html" title="Map of single points with a high number of pedestrian injuries and deaths"></iframe>
1114
{% include map_data_range_full.html %}

docs/content/hotspots/points_serious.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ hide_hero: true
77
# Dangerous Locations
88
Single points with a high number of injuries and deaths from vehicle collisions.
99

10+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
11+
12+
{% include click.html %}
1013
<iframe src="points_serious_map.html" title="Map of single points with a high number of injuries and deaths"></iframe>
1114
{% include map_data_range_full.html %}

docs/content/maps/fatal_collisions.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ description: Interactive map of fatal vehicle collisions in New York City (NYC)
55
hide_hero: true
66
---
77
# Fatal Vehicle Collisions
8-
Click on icons for more information.
98

9+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
11+
12+
{% include click.html %}
1013
<iframe src="fatal_map.html" title="Marker cluster map of fatal collisions in New York City"></iframe>
1114
{% include map_data_range_full.html %}

docs/content/maps/non_motor_collisions_18_19.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ description: Interactive map of vehicle collisions with pedestrians and cyclists
55
hide_hero: true
66
---
77
# Vehicle Collisions with Pedestrians and Cyclists 2018 - 2019
8-
Click on icons for more information.
98

10-
_Note that this may take a few seconds to load._
9+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
11+
{% include slow_load.html %}
12+
13+
{% include click.html %}
1114
<iframe src="non_motor_map_18_19.html"></iframe>
1215
{% include map_data_range_18_19.html %}

docs/content/maps/serious_collisions_18_19.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ hide_hero: true
77
# Serious Vehicle Collisions 2018 - 2019
88
Serious collisions are collisions that result in injury or death.
99

10-
Click on icons for more information.
10+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1111

12-
_Note that this may take a few seconds to load._
12+
{% include slow_load.html %}
13+
14+
{% include click.html %}
1315
<iframe src="serious_map_18_19.html" title="Marker cluster map of serious collisions during 2018 and 2019 in New York City"></iframe>
1416
{% include map_data_range_18_19.html %}

docs/content/maps/serious_collisions_20_21.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ hide_hero: true
77
# Serious Vehicle Collisions 2020 - 2021
88
Serious collisions are collisions that result in injury or death.
99

10-
Click on icons for more information.
10+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1111

12-
_Note that this may take a few seconds to load._
12+
{% include slow_load.html %}
13+
14+
{% include click.html %}
1315
<iframe src="serious_map_20_21.html" title="Marker cluster map of serious collisions during 2020 and 2021 in New York City"></iframe>
1416
{% include map_data_range_20_21.html %}

docs/content/maps/serious_collisions_22_23.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ hide_hero: true
77
# Serious Vehicle Collisions 2022 - 2023
88
Serious collisions are collisions that result in injury or death.
99

10-
Click on icons for more information.
10+
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1111

12-
_Note that this may take a few seconds to load._
12+
{% include slow_load.html %}
13+
14+
{% include click.html %}
1315
<iframe src="serious_map_22_23.html" title="Marker cluster map of serious collisions during 2022 and 2023 in New York City"></iframe>
1416
{% include map_data_range_22_23.html %}

docs/content/police/precinct_cyclist.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ hide_hero: true
88

99
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1010

11+
{% include click_choro.html %}
1112
<iframe src="precinct_cyclist_map.html" title="Choropleth map of collisions with cyclists by NYPD precinct"></iframe>
1213
{% include analysis_data_range.html %}

docs/content/police/precinct_fatal.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ hide_hero: true
88

99
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1010

11+
{% include click_choro.html %}
1112
<iframe src="precinct_fatal_map.html" title="Choropleth map of fatal collisions by NYPD precinct"></iframe>
1213
{% include analysis_data_range.html %}

docs/content/police/precinct_pedestrian.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ hide_hero: true
88

99
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1010

11+
{% include click_choro.html %}
1112
<iframe src="precinct_pedestrian_map.html" title="Choropleth map of collisions with pedestrians by NYPD precinct"></iframe>
1213
{% include analysis_data_range.html %}

docs/content/police/precinct_serious.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ Serious collisions are collisions that result in injury or death.
99

1010
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
1111

12+
{% include click_choro.html %}
1213
<iframe src="precinct_serious_map.html" title="Choropleth map of serious collisions by NYPD precinct"></iframe>
1314
{% include analysis_data_range.html %}

0 commit comments

Comments
 (0)