{% if site.author %} {% endif %} {%- capture description -%} {%- if page.description -%} {{ page.description }} {%- elsif page.subtitle -%} {{ page.subtitle }} {%- else -%} {{ site.description }} {%- endif -%} {%- endcapture -%} {% if site.mobile-theme-col %} {% endif %} {% if site.keywords %} {% endif %} {% include gtag.html %} {% include gtm_head.html %} {% include google_analytics.html %} {% if layout.common-ext-css %} {% for css in layout.common-ext-css %} {% include ext-css.html css=css %} {% endfor %} {% endif %} {% if layout.common-css %} {% for css in layout.common-css %} {% endfor %} {% endif %} {% if site.site-css %} {% for css in site.site-css %} {% endfor %} {% endif %} {% if page.ext-css %} {% for css in page.ext-css %} {% include ext-css.html css=css %} {% endfor %} {% endif %} {% if page.css %} {% for css in page.css %} {% endfor %} {% endif %} {% if site.fb_app_id %} {% endif %} {% if site.title %} {% endif %} {%- capture share-title -%} {%- if page.meta-title -%} {{ page.meta-title }} {%- elsif page.title -%} {{ page.title }} {%- else -%} {{ site.title }} {%- endif -%} {%- endcapture -%} {%- capture share-description -%} {%- if page.meta-description -%} {{ page.meta-description }} {%- elsif page.subtitle -%} {{ page.subtitle }} {%- else -%} {{ page.content | strip_html | xml_escape | truncatewords: 50 }} {%- endif -%} {%- endcapture -%} {%- capture share-img -%} {%- if page.share-img -%} {{ page.share-img }} {%- elsif page.cover-img -%} {%- if page.cover-img.first -%} {{ page.cover-img[0].first.first }} {%- else -%} {{ page.cover-img }} {%- endif -%} {%- elsif page.thumbnail-img -%} {{ page.thumbnail-img }} {%- elsif site.avatar -%} {{ site.avatar }} {% endif %} {%- endcapture -%} {%- assign share-img=share-img | strip -%} {% if share-img != "" %} {% endif %} {% if page.id %} {% else %} {% endif %} {% if page.id %} {% else %} {% endif %} {% if share-img != "" and share-img != site.avatar %} {% else %} {% endif %} {% if share-img != "" %} {% endif %} {% if site.matomo %} {% include matomo.html %} {% endif %} {% if page.comments and site.staticman.repository and site.staticman.branch %} {% endif %} {% if page.head-extra %} {% include {{ page.head-extra }} %} {% endif %}