Skip to content

Commit

Permalink
switch to ordered tags where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
amirmc committed Aug 17, 2013
1 parent c3bf458 commit 6cd42b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/amc/ordered_tags_list
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% endcapture %}

{% for item in (1..num_words) %}{% capture a_tag %}{{ get_items | split:' ' | sort | join:' ' | truncatewords:item | remove:'...' | split:' ' | last | replace: '_', ' ' }}{% endcapture %}
<li><a href="/tags-test/#{{ a_tag }}">{{ a_tag }}</a></li>
<li><a href="/tags/#{{ a_tag }}">{{ a_tag }}</a></li>

{% endfor %}
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/themes/twitter-mod/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h4 class="title-description"></h4>
<!-- <li><i class="icon-tags"></i></li> -->
<small>Filed under:</small><br />
{% assign tags_list = page.tags %}
{% include amc/tags_list %}
{% include amc/ordered_tags_list %}
</ul>
{% endunless %}

Expand Down
2 changes: 1 addition & 1 deletion tags/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ header: Posts By Tag

<ul class="tag_box inline">
{% assign tags_list = site.tags %}
{% include amc/tags_list %}
{% include amc/ordered_tags_list %}
</ul>
<hr>

Expand Down

0 comments on commit 6cd42b0

Please sign in to comment.