{% if page.url == "/" %} {% else %} {% assign text_data=site.data[site.active_lang].texts %}
{% if page.layout== "autopages" and (page.pagination.tag or page.pagination.category) %} {% assign autopages_type = "blog" %} {% if page.pagination.tag %} {% assign taxonomy_type = "Tag" %} {% assign taxonomy_type_collection = "blogtags" %} {% elsif page.pagination.category %} {% assign taxonomy_type = "Category" %} {% assign taxonomy_type_collection = "blogcategories" %} {% endif %} {% assign taxonomy = page.pagination.tag | default: page.pagination.category %} {% assign tag_slug = taxonomy | slugify %} {% assign tag_name = site[taxonomy_type_collection] | where: "slug", tag_slug | map: "title" | first %} {% endif %} {% if page.layout == 'autopages' %}

{{ page.title | liquify | replace: 'Posts in category', text_data.banner.posts_in_category | replace: 'Posts in tag', text_data.banner.posts_in_tag | replace: taxonomy, tag_name }}

{% else %}

{{ page.title | liquify }}

{% endif %} {% if page.banner.show_breadcrumbs!=false %} {% if include.show_breadcrumbs==true %} {% endif %} {% endif %}
{% endif %}