summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-05-24 11:17:16 -0600
committermo khan <mo@mokhan.ca>2024-05-24 11:17:16 -0600
commit2c47fcefb5f91e7ba9e5e641cd9111a3eaadb966 (patch)
tree0b3f242442081128812a7ffefc94dffe91be671b /templates
parent79292e7357d55dae1ab4138666f6a97e08d7a043 (diff)
Add link to community profile
Diffstat (limited to 'templates')
-rw-r--r--templates/community.md.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/community.md.erb b/templates/community.md.erb
index 131f843..f12d141 100644
--- a/templates/community.md.erb
+++ b/templates/community.md.erb
@@ -1,6 +1,7 @@
# <%= name %> (<%= self[:comm_code] %>)
-* # of Residents: <%= self[:res_cnt] %>
+* [Profile][profile]
+* Residents: <%= self[:res_cnt] %>
| Age | Male | Female | Non-binary |
| --- | ---- | ------ | ---------- |
@@ -9,3 +10,5 @@
| 35-44 | <%= self[:male_35_44] %> | <%= self[:fem_35_44] %> | <%= self[:other_35_44] %> |
| 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