GinoPane/oc-blogtaxonomy-plugin

View on GitHub
components/tagposts/default.htm

Summary

Maintainability
Test Coverage
<h1>{{ "ginopane.blogtaxonomy::lang.components.tag_posts.posts_with_tag" | trans }} "{{ __SELF__.tag.name }}"</h1>

{% if __SELF__.posts | length %}
    <ul id="{{ __SELF__.alias }}-list">
        {% partial __SELF__ ~ '::list' %}
    </ul>

    <nav id="{{ __SELF__.alias }}-pagination">
        {% partial __SELF__ ~ '::pagination' %}
    </nav>
{% else %}
    {{ "ginopane.blogtaxonomy::lang.components.tag_posts.no_posts_message" | trans }}
{% endif %}