We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 427452e commit 1f637afCopy full SHA for 1f637af
templates/blog-post.html
@@ -2,7 +2,10 @@
2
{% block title %}{{ this.title }}{% endblock %}
3
{% block header %}{{ this.parent.title }}{% endblock %}
4
{% block body %}
5
- <h2 class="mb-0">{{ this.title }}</h2>
6
- <p class="meta text-muted mt-0">by {{ this.author }} on {{ this.pub_date|dateformat('full') }}
7
- <div class="body">{{ this.body }}</div>
8
-{% endblock %}
+<h2 class="mb-0">{{ this.title }}</h2>
+<p class="meta mt-0 mb-0"><span class="text-muted">Categories: </span>{% for category in this.categories %}
+ <a href="#">{{category}}</a>{{ "," if not loop.last}}
+ {% endfor %}</p>
9
+<p class="meta text-muted mt-0">by {{ this.author }} on {{ this.pub_date|dateformat('full') }}</p>
10
+<div class="body">{{ this.body }}</div>
11
+{% endblock %}
0 commit comments