diff options
Diffstat (limited to 'templates/city.md.erb')
| -rw-r--r-- | templates/city.md.erb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/city.md.erb b/templates/city.md.erb index 4234584..12a1c73 100644 --- a/templates/city.md.erb +++ b/templates/city.md.erb @@ -3,12 +3,9 @@ | Sector | Name | Total | Male | Female | Non-binary | | ------ | ---- | ----- | ---- | ------ | ---------- | <%- self.sort.each do |community| -%> -| [<%= 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[: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) %>%) | <%- 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[:comm_code].parameterize %>/README.md +[<%= community.name.parameterize %>]: ./<%= community[:comm_code].parameterize %>/README.md <%- end -%> |
