{# Site title #}
{{ macros_set_title::set_title() }}
{# Favicon #} {% if config.extra.favicon %}
{% endif %} {% if config.extra.favicon_emoji %}
{% endif %} {# Feed #}
{# CSS #} {# Load subset of glyphs for header. Avoids flashing issue in Firefox #} {% if config.extra.custom_subset == true %}
{% elif lang == 'en' %}
{% elif lang == 'es' %}
{% endif %} {# Define array of CSS files to load. main.css is always loaded. #} {%- set stylesheets = [ "main.css" ] -%} {# Load extra CSS files from config.toml #} {%- if config.extra.stylesheets -%} {%- set stylesheets = stylesheets | concat(with=config.extra.stylesheets) -%} {%- endif -%} {# Load extra CSS files from page metadata #} {%- if page.extra.stylesheets -%} {%- set stylesheets = stylesheets | concat(with=page.extra.stylesheets) -%} {%- endif -%} {# Load extra CSS for custom skin #} {%- if config.extra.skin and config.extra.skin != "teal" -%} {%- set stylesheets = stylesheets | concat(with='skins/' ~ config.extra.skin ~ '.css') -%} {%- endif -%} {# Load all stylesheets #} {%- for stylesheet in stylesheets %}
{%- endfor %}
{%- if page.description %}
{%- elif page.summary %}
{%- else %}
{%- endif %} {% if is_404 %}
{% else %}
{% endif %}
{% if config.extra.headerImage %}
{% endif %} {% set current_url = current_url | default(value="/") %}
{%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%} {# If JavaScript is disabled, hide the button. #}
{%- endif -%}