{#- Load current language i18n data from .toml files in user's '/i18n' folder, use theme as fallback. -#} {%- set i18n = load_data(path="i18n/" ~ lang ~ '.toml', required=false) -%} {%- if not i18n -%}{%- set i18n = load_data(path="themes/abridge/i18n/" ~ lang ~ ".toml", required=false) -%}{%- endif -%} {%- set uglyurls = (config.extra.uglyurls or false) -%} {%- if config.extra.search_library -%}{%- if config.extra.search_library == "offline" -%}{%- set uglyurls = true -%}{%- endif -%}{%- endif -%} {%- include "partials/head.html" -%} {#- SEO: title, description, etc -#} {%- block seo -%} {%- if config.extra.title_separator -%} {%- set title_separator = " " ~ config.extra.title_separator ~ " " -%} {%- else -%} {%- set title_separator = " | " -%} {%- endif -%} {%- endblock seo -%} {%- block comments_init -%}{%- endblock comments_init -%} {%- include "partials/head_js.html" -%} {%- block header %}
{%- if config.extra.sitedesc %} {%- if config.description %}
{{ config.description }}
{%- endif %} {%- endif %} {%- if config.extra.headhr %}
{%- endif %}
{%- endblock header %}
{%- block content %} {%- endblock content %}
{%- block footer %} {%- endblock footer %} {%- block gotop %} {%- endblock gotop %}