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