{% extends '_partials/layout.njk' %} {% block title %}{{ __('title.tag') }}{{ __('symbol.colon') }}{{ page.tag }} | {% endblock %} {% block header %}

{{ _p('title.tag_in', page.tag) }}

{% endblock %} {% block content %}

{{ __('title.all') }} / {{ page.tag }} {{ __('title.tag') }}

{%- set posts = page.posts %} {%- for post in posts.toArray() %}
{%- if post.categories and post.categories.length %} {%- set cat_length = post.categories.length %} {%- for cat in post.categories.toArray() %} {%- if loop.index == cat_length and cat.name !== page.category %} {{ cat.name }} {%- endif %} {%- endfor %} {%- endif %}
{%- if post.link %} {%- set postTitleIcon = '' %} {%- set postText = post.title or post.link %} {{ _url(post.link, postText + postTitleIcon, {class: 'external', itemprop: 'url'}) }} {% else %} {%- endif %}
{%- endfor %}
{% include '_partials/pagination.njk' %} {% endblock %}