blog/themes/cmd/layout/category.njk

14 lines
360 B
Text
Raw Normal View History

{% extends 'includes/layout.njk' %}
{% import "includes/paginator.njk" as P with context%}
{% import "includes/postlist.njk" as PostList with context %}
{% block body %}
<h2 style="margin-left: 1rem">Category::{{page.category}}</h2>
{{ PostList.PostList(page.posts.toArray()) }}
<div id="center">
{{ P.Paginiation() }}
</div>
{% endblock %}