Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/jekyll/tagging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def calculate_tag_cloud(num = 5)
end

def active_tags
return site.tags unless site.config["ignored_tags"]
site.tags.reject { |t| site.config["ignored_tags"].include? t[0] }
threshold = (config["tag_threshold"] || '1').to_i
site.tags.reject { |tag, posts| site.config["ignored_tags"].include? tag or posts.size < threshold}
end

def pretty?
Expand Down