Skip to content

Commit

Permalink
Merge pull request #5748 from rsertelon/sort-blog-tags
Browse files Browse the repository at this point in the history
Sort blog tags alphabetically
  • Loading branch information
cnunciato committed Oct 16, 2018
2 parents db99def + 00f79fa commit b059c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/source/partials/blog/_blog_sidebar.html.slim
Expand Up @@ -5,7 +5,7 @@ ul.no-bullet
li.main-sidebar--list--item
- if current_page.url != '/blog'
a.icon-back href="/blog" All articles
- blog.tags.each do |tag, articles|
- blog.tags.sort_by {|tag, articles| tag.downcase }.each do |tag, articles|
li.main-sidebar--list--item.tag
- if current_page.url == tag_path(tag)
= link_to "#{tag}", tag_path(tag), :class => 'active'
Expand Down

0 comments on commit b059c4b

Please sign in to comment.