tag.swig 892 B

123456789101112131415161718192021222324252627282930313233343536
  1. {% extends '_layout.swig' %}
  2. {% import '_macro/post-collapse.swig' as post_template with context %}
  3. {% import '_macro/sidebar.swig' as sidebar_template with context %}
  4. {% block title %}{{ __('title.tag') }}: {{ page.tag }} | {{ title }}{% endblock %}
  5. {% block class %}tag{% endblock %}
  6. {% block content %}
  7. {#################}
  8. {### TAG BLOCK ###}
  9. {#################}
  10. <div class="post-block">
  11. <div class="posts-collapse">
  12. <div class="collection-title">
  13. <h2 class="collection-header">
  14. {{- page.tag }}
  15. <small>{{ __('title.tag') }}</small>
  16. </h2>
  17. </div>
  18. {{ post_template.render(page.posts) }}
  19. </div>
  20. </div>
  21. {#####################}
  22. {### END TAG BLOCK ###}
  23. {#####################}
  24. {% include '_partials/pagination.swig' %}
  25. {% endblock %}
  26. {% block sidebar %}
  27. {{ sidebar_template.render(false) }}
  28. {% endblock %}