summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/city.md.erb7
-rw-r--r--templates/sector.md.erb1
2 files changed, 2 insertions, 6 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 -%>
diff --git a/templates/sector.md.erb b/templates/sector.md.erb
deleted file mode 100644
index 792d600..0000000
--- a/templates/sector.md.erb
+++ /dev/null
@@ -1 +0,0 @@
-#