diff --git a/scripts/generate-tags b/scripts/generate-tags index b5a39d2..ec38ba6 100755 --- a/scripts/generate-tags +++ b/scripts/generate-tags @@ -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')