Created
October 18, 2011 02:45
-
-
Save lxneng/1294493 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if ctx.tags %} | |
<p class=tags>This entry was tagged | |
{% for tag in ctx.tags|sort(case_sensitive=true) %} | |
{%- if not loop.first and not loop.last %}, {% endif -%} | |
{%- if loop.last and not loop.first %} and {% endif %} | |
<a href="{{ link_to('tag', tag=tag) }}">{{ tag }}</a> | |
{%- endfor %} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment