summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-05-24 12:44:26 -0600
committermo khan <mo@mokhan.ca>2024-05-24 12:44:26 -0600
commit2801e040bca9351d0a1fbcf05fb277c98f68c59b (patch)
treec00449a664df9cb811c2ce93de39f524d4b518f1
parentb5076bfc226cf738aa715abd9cd2ca6d58e89a42 (diff)
rename template
-rwxr-xr-xbin/community2
-rw-r--r--templates/city.md.erb (renamed from templates/communities.md.erb)0
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/community b/bin/community
index a9fc91a..4202702 100755
--- a/bin/community
+++ b/bin/community
@@ -83,7 +83,7 @@ class Census
def create_content_in(dir)
FileUtils.mkdir_p(dir, verbose: true)
- erb = ERB.new(IO.read("templates/communities.md.erb"), trim_mode: "-")
+ erb = ERB.new(IO.read("templates/city.md.erb"), trim_mode: "-")
IO.write("#{dir}/README.md", erb.result(binding))
each { |x| x.create_content_in(dir) }
diff --git a/templates/communities.md.erb b/templates/city.md.erb
index 63babd1..63babd1 100644
--- a/templates/communities.md.erb
+++ b/templates/city.md.erb