Save tag page as lowercase
This commit is contained in:
parent
c0767f78c7
commit
eac8e6817c
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ Dir.foreach(POSTS_DIR) do |post|
|
|||
unless (postYaml['tags'] == nil)
|
||||
postYaml['tags'].each{|tag|
|
||||
|
||||
tag.downcase!
|
||||
|
||||
unless File.exist?(TAGS_DIR + tag + '.html')
|
||||
|
||||
puts('[+] Generating #' + tag + ' page')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue