{% if site.tag_archive.type and page.tags %}
{% include tag-list.html %}
{% endif %}
{% if site.category_archive.type and page.categories %}
{% include category-list.html %}
{% endif %}
{% if site.tag_archive.type and page.tags %}
{% include tag-list.html %}
{% endif %}
{% if site.category_archive.type and page.categories %}
{% include category-list.html %}
{% endif %}