summaryrefslogtreecommitdiff
path: root/templates/communities.md.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/communities.md.erb')
-rw-r--r--templates/communities.md.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/communities.md.erb b/templates/communities.md.erb
index 55d17d3..d60b9f2 100644
--- a/templates/communities.md.erb
+++ b/templates/communities.md.erb
@@ -3,5 +3,9 @@
| Name | Total | Male | Female | Non-binary | Dogs | Cats |
| ---- | ----- | ---- | ------ | ---------- | ---- | ---- |
<%- self.sort.each do |community| -%>
-| <%= community.name %> | <%= community[:res_cnt] %> | <%= community[:male_cnt] %> | <%= community[:female_cnt] %> | <%= community[:other_cnt] %> | <%= community[:dog_cnt] %> | <%= community[:cat_cnt] %> |
+| [<%= community.name %>][<%= community.name.parameterize %>] | <%= community[:res_cnt] %> | <%= community[:male_cnt] %> | <%= community[:female_cnt] %> | <%= community[:other_cnt] %> | <%= community[:dog_cnt] %> | <%= community[:cat_cnt] %> |
+<%- end -%>
+
+<%- self.sort.each do |community| -%>
+[<%= community.name.parameterize %>]: ./<%= community.name.parameterize %>/README.md
<%- end -%>