blog/themes/cmd/layout/category.njk
thisLight 781759d545 move cmd to nunjucks & update hexo to 6.0.0
Other changes:
* minor fix to the display for code blocks
* remove floating when hover on cards
* replace the list of tags and categories to the index page one
* small change on the title of tags' and categories' pages
2021-12-31 18:07:40 +08:00

13 lines
360 B
Text

{% 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 %}