Skip to content

Commit

Permalink
implement tag hiding for tag clouds (#1640)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 22, 2015
1 parent cb90d22 commit f0f232d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nikola/plugins/task/tags.py
Expand Up @@ -130,6 +130,8 @@ def render_lists(tag, posts, is_category=True):
# Tag cloud json file
tag_cloud_data = {}
for tag, posts in self.site.posts_per_tag.items():
if tag in self.site.config['HIDDEN_TAGS']:
continue
tag_posts = dict(posts=[{'title': post.meta[post.default_lang]['title'],
'date': post.date.strftime('%m/%d/%Y'),
'isodate': post.date.isoformat(),
Expand Down

0 comments on commit f0f232d

Please sign in to comment.