categories

This commit is contained in:
Edgar 2021-12-24 12:14:57 +01:00
parent 8f6f860f89
commit 008b4ceb20
No known key found for this signature in database
GPG key ID: 8731E6C0166EAA85
2 changed files with 14 additions and 8 deletions

View file

@ -176,3 +176,7 @@ a.title {
.capitalize {
text-transform: capitalize;
}
.category-link {
color: gray;
}

View file

@ -12,8 +12,10 @@
<li>
<span><time datetime="{{ page.date }}">{{ page.date }}</time>: </span>
<a href="{{ page.permalink }}" title="{{ page.description }}"
>{{ page.title }}</a
>
>{{ page.title }}</a>
| {% for category in page.taxonomies["categories"] %}
<a class="category-link capitalize" href="/categories/{{category}}">{{ category }}</a>
{% endfor %}
</li>
{% endfor %}
</ul>