diff options
Diffstat (limited to 'templates/city.md.erb')
| -rw-r--r-- | templates/city.md.erb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/city.md.erb b/templates/city.md.erb index 63babd1..7ee5ff0 100644 --- a/templates/city.md.erb +++ b/templates/city.md.erb @@ -3,9 +3,12 @@ | Sector | Name | Total | Male | Female | Non-binary | Dogs | Cats | | ------ | ---- | ----- | ---- | ------ | ---------- | ---- | ---- | <%- self.sort.each do |community| -%> -| <%= community[:sector] %> | [<%= community.name %>][<%= community.name.parameterize %>] | <%= community[:res_cnt] %> | <%= community[:male_cnt] %> (<%= community.percent(:male_cnt) %>%) | <%= community[:female_cnt] %> (<%= community.percent(:female_cnt) %>%) | <%= community[:other_cnt] %> (<%= community.percent(:other_cnt) %>%) | <%= community[:dog_cnt] %> | <%= community[:cat_cnt] %> | +| [<%= community[:sector] %>][<%= community[:sector].parameterize %>] | [<%= community.name %>][<%= community.name.parameterize %>] | <%= community[:res_cnt] %> | <%= community[:male_cnt] %> (<%= community.percent(:male_cnt) %>%) | <%= community[:female_cnt] %> (<%= community.percent(:female_cnt) %>%) | <%= community[:other_cnt] %> (<%= community.percent(:other_cnt) %>%) | <%= community[:dog_cnt] %> | <%= community[:cat_cnt] %> | <%- end -%> +<%- self.sectors.each do |sector| -%> +[<%= sector.parameterize %>]: ./<%= sector.parameterize %>/README.md +<%- end -%> <%- self.sort.each do |community| -%> [<%= community.name.parameterize %>]: ./<%= community[:sector].parameterize %>/<%= community.name.parameterize %>/README.md <%- end -%> |
