post.swig 372 B

12345678910111213141516
  1. {% extends '_layout.swig' %}
  2. {% import '_macro/sidebar.swig' as sidebar_template with context %}
  3. {% block title %}{{ page.title }} | {{ title }}{% endblock %}
  4. {% block class %}post posts-expand{% endblock %}
  5. {% block content %}
  6. {{ partial('_macro/post.swig', {post: page}) }}
  7. {% endblock %}
  8. {% block sidebar %}
  9. {{ sidebar_template.render(true) }}
  10. {% endblock %}