add doc
This commit is contained in:
1 parent
16ef430a39
commit
792897291b
445 files changed
+30584
-5
No files matched your search
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
{% extends '_layout.swig' %}
|
||||
{% import '_macro/post-collapse.swig' as post_template %}
|
||||
{% import '_macro/sidebar.swig' as sidebar_template %}
|
||||
|
||||
{% block title %}{{ __('title.category') }}: {{ page.category }} | {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{######################}
|
||||
{### CATEGORY BLOCK ###}
|
||||
{######################}
|
||||
<div class="post-block category">
|
||||
|
||||
<div id="posts" class="posts-collapse">
|
||||
<div class="collection-title">
|
||||
<{% if theme.seo %}h2{% else %}h1{% endif %}>{#
|
||||
#}{{ page.category }}{#
|
||||
#}<small>{{ __('title.category') }}</small>
|
||||
</{% if theme.seo %}h2{% else %}h1{% endif %}>
|
||||
</div>
|
||||
|
||||
{% for post in page.posts %}
|
||||
{{ post_template.render(post) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{##########################}
|
||||
{### END CATEGORY BLOCK ###}
|
||||
{##########################}
|
||||
|
||||
{% include '_partials/pagination.swig' %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{{ sidebar_template.render(false) }}
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user