Save tag page as lowercase

This commit is contained in:
Gordon Breuer 2016-03-05 01:31:22 +01:00
parent c0767f78c7
commit eac8e6817c

View file

@ -12,6 +12,8 @@ Dir.foreach(POSTS_DIR) do |post|
unless (postYaml['tags'] == nil) unless (postYaml['tags'] == nil)
postYaml['tags'].each{|tag| postYaml['tags'].each{|tag|
tag.downcase!
unless File.exist?(TAGS_DIR + tag + '.html') unless File.exist?(TAGS_DIR + tag + '.html')
puts('[+] Generating #' + tag + ' page') puts('[+] Generating #' + tag + ' page')