From eac8e6817c07974f2bdb42aff2088a1a0bc3c936 Mon Sep 17 00:00:00 2001 From: Gordon Breuer Date: Sat, 5 Mar 2016 01:31:22 +0100 Subject: [PATCH] Save tag page as lowercase --- scripts/generate-tags | 2 ++ 1 file changed, 2 insertions(+) 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')