From a91aeceba5204d952f61997eec1e34d68c955dc4 Mon Sep 17 00:00:00 2001 From: Jasmine Hirpara Date: Sun, 14 Jul 2024 19:58:19 +0530 Subject: [PATCH] Update tag_generator.rb --- _plugins/tag_generator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_plugins/tag_generator.rb b/_plugins/tag_generator.rb index c3a69fc..a948949 100644 --- a/_plugins/tag_generator.rb +++ b/_plugins/tag_generator.rb @@ -2,7 +2,7 @@ module Jekyll class TagGenerator < Generator def generate(site) # Exit if not in production mode - # return unless ENV['JEKYLL_ENV'] == 'production' + return unless ENV['JEKYLL_ENV'] == 'production' tags = {} @@ -31,4 +31,4 @@ def generate(site) end end end -end \ No newline at end of file +end