{% if page.header.taxonomy.category %}
<span class="tags">
    {% for category in page.header.taxonomy.category %}
    <a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-category" href="{{ blog.url|rtrim('/') }}/category{{ config.system.param_sep }}{{ category }}">{{ category }}</a>
    {% endfor %}
</span>
{% endif %}
