NixNet/_includes/category/title.html

11 lines
361 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% for category in site.data.categories %}
{% if category.slug == page.category %}
{% assign category_name = category.name %}
{% endif %}
{% endfor %}
<h1 class="page-title">
<div class="page-title-text">{{ category_name }}</div>
<div class="page-title-subtitle">Articles in the category <strong>{{ category_name }}</strong></div>
</h1>