Skip to content

Commit aaf0778

Browse files
committed
show categoes in raw list
1 parent 1320404 commit aaf0778

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

posts.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<h1 style="text-align: center;" class="post-title"> Post history </h1>
66

7-
<div class="archive-group">
7+
<div class="archive-group" style="padding-top: 5px;">
88
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
99

1010
<!-- display all posts -->
@@ -13,7 +13,14 @@ <h1 style="text-align: center;" class="post-title"> Post history </h1>
1313
{% for post in site.posts %}
1414
<li>
1515
<div id="container_in">
16-
<a href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a>
16+
<div id="list_in">
17+
<a href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a>
18+
<div>
19+
{% for category in post.categories %}
20+
<small> [{{ category }}] </small>
21+
{% endfor %}
22+
</div>
23+
</div>
1724
<span> {{ post.date | date: date_format }} </span>
1825
</div>
1926
</li>

0 commit comments

Comments
 (0)