We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 59b2166 + 4485dc6 commit 4a95570Copy full SHA for 4a95570
templates/blog-post.html
@@ -3,6 +3,15 @@
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') }}
+ <p class="meta text-muted mt-0">by {{ this.author }} on {{ this.pub_date|dateformat('full') }}</p>
7
<div class="body">{{ this.body }}</div>
8
-{% endblock %}
+ <hr>
9
+ <p class="meta mt-0 mb-0"><span class="text-muted">Categories: </span>
10
+ {% if this.categories|length %}
11
+ {% for category in this.categories %}
12
+ <a href="#">{{ category }}</a>{{ "," if not loop.last }}
13
+ {% endfor %}
14
+ {% else %}
15
+ none
16
+ {% endif %}</p>
17
+{% endblock %}
0 commit comments