summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-05-24 11:34:11 -0600
committermo khan <mo@mokhan.ca>2024-05-24 11:34:11 -0600
commit594dbca64f7327b0210ae98bf97c4ffe86faac40 (patch)
tree80e868f28fef77c3d75e0fc89f6a2ba82de21cb8 /templates
parent2c47fcefb5f91e7ba9e5e641cd9111a3eaadb966 (diff)
Add links to community profile and projections
Diffstat (limited to 'templates')
-rw-r--r--templates/community.md.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/community.md.erb b/templates/community.md.erb
index f12d141..d8fc74e 100644
--- a/templates/community.md.erb
+++ b/templates/community.md.erb
@@ -1,6 +1,8 @@
# <%= name %> (<%= self[:comm_code] %>)
+* [Homepage][homepage]
* [Profile][profile]
+* [Projection][projection]
* Residents: <%= self[:res_cnt] %>
| Age | Male | Female | Non-binary |
@@ -11,4 +13,6 @@
| 45-54 | <%= self[:male_45_54] %> | <%= self[:fem_45_54] %> | <%= self[:other_45_54] %> |
| | <%= self[:male_cnt] %> | <%= self[:female_cnt] %> | <%= self[:other_cnt] %> |
-[profile]: https://www.calgary.ca/communities/profiles/<%= name.parameterize %>.html
+[homepage]: https://www.calgary.ca/communities/profiles/<%= name.parameterize %>.html
+[profile]: https://www.calgary.ca/content/dam/www/csps/cns/documents/community_social_statistics/community-profiles/<%= name.parameterize %>.pdf
+[projection]: https://www.calgary.ca/content/dam/www/csps/cns/documents/community_social_statistics/<%= name.parameterize %>-pp.pdf