initial
This commit is contained in:
23
themes/next/layout/post.swig
Normal file
23
themes/next/layout/post.swig
Normal file
@ -0,0 +1,23 @@
|
||||
{% extends '_layout.swig' %}
|
||||
{% import '_macro/post.swig' as post_template %}
|
||||
{% import '_macro/sidebar.swig' as sidebar_template %}
|
||||
|
||||
{% block title %}{{ page.title }} | {{ title }}{% endblock %}
|
||||
|
||||
{% block page_class %}page-post-detail{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="posts" class="posts-expand">
|
||||
{{ post_template.render(page) }}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{{ sidebar_template.render(true) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block script_extra %}
|
||||
{% include '_scripts/pages/post-details.swig' %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user