{% if page.url == "/" %} {% assign sorted_posts = site.posts | where: "lang", site.active_lang %} {% for post in sorted_posts limit:1 %} • {{ site.data[site.active_lang].texts.index.latest_news | liquify }}: {{ post.title }} {% endfor %} {{ site.data[site.active_lang].texts.slogan | liquify }} {{ site.data[site.active_lang].texts.subslogan | liquify | markdown_render }} {{ site.data[site.active_lang].texts.index.landing_button.text | liquify }} {% else %} {% assign text_data=site.data[site.active_lang].texts %} {% if page.banner.show_post_date!=false %} {% if include.show_post_date==true %} {{text_data.banner.post_date}} {{ page.date | localize: '%d. %B %Y', site.active_lang }} {% endif %} {% endif %} {% if page.banner.show_last_updated!=false %} {% if include.show_last_updated==true %} {{text_data.banner.last_updated}}: {{ page.last_modified_at | localize: '%d. %B %Y', site.active_lang }} {% endif %} {% endif %} {% 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_author!=false and page.author %} {% if include.show_author==true %} {% assign author = site.authors | where:"slug", page.author | first %} {{text_data.banner.author}} {{ author.name }} {% endif %} {% endif %} {% if page.banner.show_read_time!=false %} {% if include.show_read_time==true %} {{ content | reading_time | pluralize: "minute" | replace: 'minutes', text_data.banner.read_time.minutes | replace: 'minute', text_data.banner.read_time.minute }} {{ text_data.banner.read_time.long }} {% endif %} {% endif %} {% if page.banner.show_breadcrumbs!=false %} {% if include.show_breadcrumbs==true %} {{text_data.banner.breadcrumbs.home}} {% if page.layout == "autopages" and autopages_type=="blog" %} {{text_data.banner.breadcrumbs.blog }} {{ taxonomy_type | replace: 'Category', text_data.banner.breadcrumbs.category | replace: 'Tag', text_data.banner.breadcrumbs.tag }} {{ tag_name }} {% elsif page.layout == "product" %} {% if page.product_type=="managed-hosting" %} {{ text_data.banner.breadcrumbs.managed_hosting.text }} {% elsif page.product_type=="addon-services" %} {{ text_data.banner.breadcrumbs.addon_services.text }} {% endif %} {{page.title | liquify}} {% else %} {{page.title | liquify}} {% endif %} {% endif %} {% endif %} {% endif %}
{{ site.data[site.active_lang].texts.subslogan | liquify | markdown_render }}