Merge pull request #233 from lektor/hotfix-7-10-18

[hotfix-7-10-18] Removing extraneous jinja
This commit is contained in:
Joseph Nix 2018-07-10 10:19:54 -05:00 committed by GitHub
commit 88411f0cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
</div> </div>
{% if this.tags %} {% if this.tags %}
{% for t in this.tags|sort %} {% for t in this.tags|sort %}
{{ "and " if (loop.last and this.tags|length > 1) }} {{ "and " if loop.last }}
<a href="{{ ('/plugins/tag/' ~ t.lower() ~ '/')|url }}">{{ t }}</a>{{ ", " if not loop.last }} <a href="{{ ('/plugins/tag/' ~ t.lower() ~ '/')|url }}">{{ t }}</a>{{ ", " if not loop.last }}
{% endfor %} {% endfor %}
{% else %} {% else %}