2020-08-15 01:18:19 +08:00

37 lines
901 B
Plaintext

{% 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.tag') }}: {{ page.tag }} | {{ title }}{% endblock %}
{% block class %}tag posts-collapse{% endblock %}
{% block content %}
{#################}
{### TAG BLOCK ###}
{#################}
<div class="post-block">
<div class="post-content">
<div class="collection-title">
<h2 class="collection-header">
{{- page.tag }}
<small>{{ __('title.tag') }}</small>
</h2>
</div>
{{ post_template.render(page.posts) }}
</div>
</div>
{#####################}
{### END TAG BLOCK ###}
{#####################}
{% include '_partials/pagination.njk' %}
{% endblock %}
{% block sidebar %}
{{ sidebar_template.render(false) }}
{% endblock %}