%PDF- %PDF-
Direktori : /www/specpages-backup/themes/dawn/layout/ |
Current File : //www/specpages-backup/themes/dawn/layout/category.njk |
{% extends '_layout.njk' %} {% import '_macro/post-collapse.njk' as post_template with context %} {% import '_macro/sidebar.njk' as sidebar_template with context %} {% block title %}{{ __('title.category') }}: {{ page.category }} | {{ title }}{% endblock %} {% block class %}category posts-collapse{% endblock %} {% block content %} {######################} {### CATEGORY BLOCK ###} {######################} <div class="post-block"> <div class="post-content"> <div class="collection-title"> <h2 class="collection-header"> {{- page.category }} <small>{{ __('title.category') }}</small> </h2> </div> {{ post_template.render(page.posts) }} </div> </div> {##########################} {### END CATEGORY BLOCK ###} {##########################} {%- include '_partials/pagination.njk' -%} {% endblock %} {% block sidebar %} {{ sidebar_template.render(false) }} {% endblock %}