2016-08-07 19:01:56 +03:00
|
|
|
<!--
|
2022-01-10 11:59:00 +03:00
|
|
|
Copyright (c) 2016-2022 Martin Donath <martin.donath@squidfunk.com>
|
2016-08-07 19:01:56 +03:00
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to
|
|
|
|
deal in the Software without restriction, including without limitation the
|
|
|
|
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
|
IN THE SOFTWARE.
|
|
|
|
-->
|
|
|
|
|
2019-06-15 16:16:14 +03:00
|
|
|
{% import "partials/language.html" as lang with context %}
|
2017-01-06 21:18:17 +03:00
|
|
|
|
2018-12-20 14:14:03 +03:00
|
|
|
<!doctype html>
|
2017-04-22 15:51:41 +03:00
|
|
|
<html lang="{{ lang.t('language') }}" class="no-js">
|
2016-01-29 01:27:15 +03:00
|
|
|
<head>
|
|
|
|
|
2021-09-23 09:53:51 +03:00
|
|
|
<!-- Meta tags -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block site_meta %}
|
2016-12-15 18:43:40 +03:00
|
|
|
<meta charset="utf-8" />
|
2020-01-30 22:47:34 +03:00
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2017-03-11 16:07:07 +03:00
|
|
|
<!-- Page description -->
|
2022-06-04 08:51:12 +03:00
|
|
|
{% if page.meta and page.meta.description %}
|
2019-11-26 12:03:53 +03:00
|
|
|
<meta name="description" content="{{ page.meta.description }}" />
|
2019-06-15 16:16:14 +03:00
|
|
|
{% elif config.site_description %}
|
2016-12-15 18:43:40 +03:00
|
|
|
<meta name="description" content="{{ config.site_description }}" />
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2017-03-11 16:07:07 +03:00
|
|
|
<!-- Page author -->
|
2022-06-04 08:51:12 +03:00
|
|
|
{% if page.meta and page.meta.author %}
|
2019-12-23 21:54:01 +03:00
|
|
|
<meta name="author" content="{{ page.meta.author }}" />
|
2019-06-15 16:16:14 +03:00
|
|
|
{% elif config.site_author %}
|
2016-12-15 18:43:40 +03:00
|
|
|
<meta name="author" content="{{ config.site_author }}" />
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2020-12-20 17:00:21 +03:00
|
|
|
<!-- Canonical -->
|
|
|
|
{% if page.canonical_url %}
|
|
|
|
<link rel="canonical" href="{{ page.canonical_url }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
2016-12-15 18:43:40 +03:00
|
|
|
<!-- Favicon -->
|
2021-03-09 14:39:29 +03:00
|
|
|
<link rel="icon" href="{{ config.theme.favicon | url }}" />
|
2016-12-15 18:43:40 +03:00
|
|
|
|
|
|
|
<!-- Generator banner -->
|
2019-11-26 12:03:53 +03:00
|
|
|
<meta
|
|
|
|
name="generator"
|
|
|
|
content="mkdocs-{{ mkdocs_version }}, $md-name$-$md-version$"
|
|
|
|
/>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endblock %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2017-09-01 11:07:29 +03:00
|
|
|
<!-- Site title -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block htmltitle %}
|
2022-06-04 08:51:12 +03:00
|
|
|
{% if page.meta and page.meta.title %}
|
2020-07-27 18:52:38 +03:00
|
|
|
<title>{{ page.meta.title }} - {{ config.site_name }}</title>
|
2022-06-04 08:51:12 +03:00
|
|
|
{% elif page.title and not page.is_homepage %}
|
2019-08-23 12:02:28 +03:00
|
|
|
<title>{{ page.title | striptags }} - {{ config.site_name }}</title>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% else %}
|
2016-12-15 18:43:40 +03:00
|
|
|
<title>{{ config.site_name }}</title>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2021-10-10 23:32:32 +03:00
|
|
|
<!-- Theme-related style sheets -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block styles %}
|
2020-02-29 21:25:42 +03:00
|
|
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.css' | url }}" />
|
2017-02-10 18:43:32 +03:00
|
|
|
|
|
|
|
<!-- Extra color palette -->
|
2020-09-27 10:40:05 +03:00
|
|
|
{% if config.theme.palette %}
|
|
|
|
{% set palette = config.theme.palette %}
|
2019-11-26 12:03:53 +03:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
2020-02-29 21:25:42 +03:00
|
|
|
href="{{ 'assets/stylesheets/palette.css' | url }}"
|
2019-11-26 12:03:53 +03:00
|
|
|
/>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
2022-06-02 18:20:33 +03:00
|
|
|
|
|
|
|
<!-- Custom icons -->
|
|
|
|
{% include "partials/icons.html" %}
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endblock %}
|
2017-02-10 18:43:32 +03:00
|
|
|
|
2017-11-01 20:25:08 +03:00
|
|
|
<!-- JavaScript libraries -->
|
2019-09-28 21:39:07 +03:00
|
|
|
{% block libs %}{% endblock %}
|
2017-11-01 20:25:08 +03:00
|
|
|
|
2017-09-01 11:07:29 +03:00
|
|
|
<!-- Webfonts -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block fonts %}
|
2018-09-03 10:42:39 +03:00
|
|
|
|
2018-02-22 21:15:32 +03:00
|
|
|
<!-- Load fonts from Google -->
|
2020-09-27 10:40:05 +03:00
|
|
|
{% if config.theme.font != false %}
|
2022-03-01 09:49:57 +03:00
|
|
|
{% set text = config.theme.font.text | d("Roboto", true) %}
|
|
|
|
{% set code = config.theme.font.code | d("Roboto Mono", true) %}
|
2020-12-20 17:00:21 +03:00
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
2019-11-26 12:03:53 +03:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://fonts.googleapis.com/css?family={{
|
2022-03-01 09:49:57 +03:00
|
|
|
text | replace(' ', '+') + ':300,300i,400,400i,700,700i%7C' +
|
|
|
|
code | replace(' ', '+') + ':400,400i,700,700i'
|
2019-11-26 12:03:53 +03:00
|
|
|
}}&display=fallback"
|
|
|
|
/>
|
2017-01-13 02:31:37 +03:00
|
|
|
<style>
|
2021-02-06 11:57:40 +03:00
|
|
|
:root {
|
2022-03-01 09:49:57 +03:00
|
|
|
--md-text-font: "{{ text }}";
|
|
|
|
--md-code-font: "{{ code }}";
|
2017-01-13 02:31:37 +03:00
|
|
|
}
|
|
|
|
</style>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2021-10-10 23:32:32 +03:00
|
|
|
<!-- Custom style sheets -->
|
2022-09-13 13:35:14 +03:00
|
|
|
{% for path in config.extra_css %}
|
2020-03-05 21:16:25 +03:00
|
|
|
<link rel="stylesheet" href="{{ path | url }}" />
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endfor %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2021-11-13 13:39:10 +03:00
|
|
|
<!-- Helper functions for inline scripts -->
|
|
|
|
{% include "partials/javascripts/base.html" %}
|
|
|
|
|
2019-11-26 12:36:04 +03:00
|
|
|
<!-- Analytics -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block analytics %}
|
2021-06-06 18:32:30 +03:00
|
|
|
{% include "partials/integrations/analytics.html" %}
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endblock %}
|
2019-01-28 13:18:22 +03:00
|
|
|
|
2022-09-13 13:35:14 +03:00
|
|
|
<!-- Meta tags from front matter or plugins -->
|
|
|
|
{% if page.meta and page.meta.meta %}
|
|
|
|
{% for tag in page.meta.meta %}
|
|
|
|
<meta
|
|
|
|
{% for key, value in tag.items() %}
|
|
|
|
{{ key }}="{{value}}"
|
|
|
|
{% endfor %}
|
|
|
|
/>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-09-01 11:07:29 +03:00
|
|
|
<!-- Custom front matter -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block extrahead %}{% endblock %}
|
2016-01-29 01:27:15 +03:00
|
|
|
</head>
|
2016-12-17 14:53:24 +03:00
|
|
|
|
2021-04-11 15:17:47 +03:00
|
|
|
<!-- Set text direction and color palette, if defined -->
|
2022-11-12 15:56:18 +03:00
|
|
|
{% set direction = config.theme.direction or lang.t("direction") %}
|
2020-09-27 10:40:05 +03:00
|
|
|
{% if config.theme.palette %}
|
|
|
|
{% set palette = config.theme.palette %}
|
|
|
|
{% if not palette is mapping %}
|
|
|
|
{% set palette = palette | first %}
|
|
|
|
{% endif %}
|
2022-12-11 19:43:09 +03:00
|
|
|
{% set scheme = palette.scheme | d("default", true) %}
|
|
|
|
{% set primary = palette.primary | d("", true) %}
|
|
|
|
{% set accent = palette.accent | d("", true) %}
|
2019-11-26 12:03:53 +03:00
|
|
|
<body
|
2020-03-05 00:06:05 +03:00
|
|
|
dir="{{ direction }}"
|
2022-11-08 17:40:03 +03:00
|
|
|
data-md-color-scheme="{{ scheme | replace(' ', '-') }}"
|
2022-12-11 19:43:09 +03:00
|
|
|
data-md-color-primary="{{ primary | replace(' ', '-') }}"
|
|
|
|
data-md-color-accent="{{ accent | replace(' ', '-') }}"
|
2019-11-26 12:03:53 +03:00
|
|
|
>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% else %}
|
2020-03-05 00:06:05 +03:00
|
|
|
<body dir="{{ direction }}">
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
2021-02-25 19:29:11 +03:00
|
|
|
{% set features = config.theme.features or [] %}
|
2021-03-29 19:46:57 +03:00
|
|
|
|
|
|
|
<!-- User preference: color palette -->
|
|
|
|
{% if not config.theme.palette is mapping %}
|
|
|
|
{% include "partials/javascripts/palette.html" %}
|
|
|
|
{% endif %}
|
2020-12-20 17:00:21 +03:00
|
|
|
|
2018-03-21 22:21:49 +03:00
|
|
|
<!--
|
|
|
|
State toggles - we need to set autocomplete="off" in order to reset the
|
|
|
|
drawer on back button invocation in some browsers
|
|
|
|
-->
|
2019-11-26 12:03:53 +03:00
|
|
|
<input
|
|
|
|
class="md-toggle"
|
|
|
|
data-md-toggle="drawer"
|
|
|
|
type="checkbox"
|
|
|
|
id="__drawer"
|
|
|
|
autocomplete="off"
|
|
|
|
/>
|
|
|
|
<input
|
|
|
|
class="md-toggle"
|
|
|
|
data-md-toggle="search"
|
|
|
|
type="checkbox"
|
|
|
|
id="__search"
|
|
|
|
autocomplete="off"
|
|
|
|
/>
|
2016-01-29 01:27:15 +03:00
|
|
|
|
|
|
|
<!-- Overlay for expanded drawer -->
|
2019-12-22 19:30:55 +03:00
|
|
|
<label class="md-overlay" for="__drawer"></label>
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2021-02-06 14:35:19 +03:00
|
|
|
<!-- Skip to content -->
|
2020-03-28 20:10:08 +03:00
|
|
|
<div data-md-component="skip">
|
|
|
|
{% if page.toc | first is defined %}
|
|
|
|
{% set skip = page.toc | first %}
|
|
|
|
<a href="{{ skip.url | url }}" class="md-skip">
|
2022-12-11 20:32:22 +03:00
|
|
|
{{ lang.t("action.skip") }}
|
2020-03-28 20:10:08 +03:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-01-25 16:26:06 +03:00
|
|
|
|
|
|
|
<!-- Announcement bar -->
|
2020-03-28 20:10:08 +03:00
|
|
|
<div data-md-component="announce">
|
|
|
|
{% if self.announce() %}
|
2021-11-13 11:05:23 +03:00
|
|
|
<aside class="md-banner">
|
|
|
|
<div class="md-banner__inner md-grid md-typeset">
|
2022-07-20 18:25:55 +03:00
|
|
|
|
|
|
|
<!-- Button to dismiss announcement -->
|
|
|
|
{% if "announce.dismiss" in features %}
|
|
|
|
<button
|
|
|
|
class="md-banner__button md-icon"
|
|
|
|
aria-label="{{ lang.t('announce.dismiss') }}"
|
|
|
|
>
|
|
|
|
{% include ".icons/material/close.svg" %}
|
|
|
|
</button>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Announcement bar content -->
|
2020-03-28 20:10:08 +03:00
|
|
|
{% block announce %}{% endblock %}
|
|
|
|
</div>
|
2022-07-20 18:25:55 +03:00
|
|
|
{% if "announce.dismiss" in features %}
|
|
|
|
{% include "partials/javascripts/announce.html" %}
|
|
|
|
{% endif %}
|
2020-03-28 20:10:08 +03:00
|
|
|
</aside>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2018-01-18 23:19:10 +03:00
|
|
|
|
2021-11-13 13:39:10 +03:00
|
|
|
<!-- Version warning -->
|
|
|
|
{% if config.extra.version %}
|
|
|
|
<div data-md-component="outdated" hidden>
|
2022-07-20 18:25:55 +03:00
|
|
|
{% if self.outdated() %}
|
|
|
|
<aside class="md-banner md-banner--warning">
|
2021-11-13 13:39:10 +03:00
|
|
|
<div class="md-banner__inner md-grid md-typeset">
|
|
|
|
{% block outdated %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
{% include "partials/javascripts/outdated.html" %}
|
2022-07-20 18:25:55 +03:00
|
|
|
</aside>
|
|
|
|
{% endif %}
|
2021-11-13 13:39:10 +03:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2021-02-23 01:05:09 +03:00
|
|
|
<!-- Header -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block header %}
|
|
|
|
{% include "partials/header.html" %}
|
|
|
|
{% endblock %}
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2021-02-06 14:35:19 +03:00
|
|
|
<!-- Container -->
|
2019-11-22 19:53:12 +03:00
|
|
|
<div class="md-container" data-md-component="container">
|
2017-10-11 19:31:46 +03:00
|
|
|
|
2017-11-22 02:13:56 +03:00
|
|
|
<!-- Hero teaser -->
|
2020-09-27 09:54:36 +03:00
|
|
|
{% block hero %}{% endblock %}
|
2017-11-22 02:13:56 +03:00
|
|
|
|
2021-09-23 09:53:51 +03:00
|
|
|
<!-- Navigation tabs (collapsing) -->
|
2020-02-13 12:10:04 +03:00
|
|
|
{% block tabs %}
|
2022-11-12 16:44:59 +03:00
|
|
|
{% if "navigation.tabs.sticky" not in features %}
|
2021-09-23 09:53:51 +03:00
|
|
|
{% if "navigation.tabs" in features %}
|
|
|
|
{% include "partials/tabs.html" %}
|
|
|
|
{% endif %}
|
2020-02-13 12:10:04 +03:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-02-05 17:34:19 +03:00
|
|
|
|
2019-11-26 12:36:04 +03:00
|
|
|
<!-- Main area -->
|
2019-12-18 16:57:37 +03:00
|
|
|
<main class="md-main" data-md-component="main">
|
|
|
|
<div class="md-main__inner md-grid">
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2022-06-02 18:20:33 +03:00
|
|
|
<!-- Sidebars -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block site_nav %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
2022-06-02 18:20:33 +03:00
|
|
|
<!-- Navigation -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% if nav %}
|
2022-06-04 08:51:12 +03:00
|
|
|
{% if page.meta and page.meta.hide %}
|
2020-12-20 17:00:21 +03:00
|
|
|
{% set hidden = "hidden" if "navigation" in page.meta.hide %}
|
|
|
|
{% endif %}
|
2019-11-26 12:03:53 +03:00
|
|
|
<div
|
|
|
|
class="md-sidebar md-sidebar--primary"
|
2021-03-13 17:53:37 +03:00
|
|
|
data-md-component="sidebar"
|
|
|
|
data-md-type="navigation"
|
2020-12-20 17:00:21 +03:00
|
|
|
{{ hidden }}
|
2019-11-26 12:03:53 +03:00
|
|
|
>
|
2016-12-15 18:43:40 +03:00
|
|
|
<div class="md-sidebar__scrollwrap">
|
|
|
|
<div class="md-sidebar__inner">
|
2019-06-15 16:16:14 +03:00
|
|
|
{% include "partials/nav.html" %}
|
2016-12-15 18:43:40 +03:00
|
|
|
</div>
|
2016-09-23 12:56:25 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
2016-12-15 18:43:40 +03:00
|
|
|
|
|
|
|
<!-- Table of contents -->
|
2022-11-12 16:44:59 +03:00
|
|
|
{% if "toc.integrate" not in features %}
|
2022-06-04 08:51:12 +03:00
|
|
|
{% if page.meta and page.meta.hide %}
|
2020-12-20 17:00:21 +03:00
|
|
|
{% set hidden = "hidden" if "toc" in page.meta.hide %}
|
|
|
|
{% endif %}
|
2019-11-26 12:03:53 +03:00
|
|
|
<div
|
|
|
|
class="md-sidebar md-sidebar--secondary"
|
2021-03-13 17:53:37 +03:00
|
|
|
data-md-component="sidebar"
|
|
|
|
data-md-type="toc"
|
2020-12-20 17:00:21 +03:00
|
|
|
{{ hidden }}
|
2019-11-26 12:03:53 +03:00
|
|
|
>
|
2016-12-15 18:43:40 +03:00
|
|
|
<div class="md-sidebar__scrollwrap">
|
|
|
|
<div class="md-sidebar__inner">
|
2019-06-15 16:16:14 +03:00
|
|
|
{% include "partials/toc.html" %}
|
2016-12-15 18:43:40 +03:00
|
|
|
</div>
|
2016-09-23 12:56:25 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2021-11-13 15:08:22 +03:00
|
|
|
<!-- Page content -->
|
2022-09-13 13:35:14 +03:00
|
|
|
{% block container %}
|
|
|
|
<div class="md-content" data-md-component="content">
|
|
|
|
<article class="md-content__inner md-typeset">
|
|
|
|
{% block content %}
|
|
|
|
{% include "partials/content.html" %}
|
|
|
|
{% endblock %}
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
<!-- User preference: content -->
|
|
|
|
{% include "partials/javascripts/content.html" %}
|
2016-01-29 01:27:15 +03:00
|
|
|
</div>
|
2021-03-29 19:46:57 +03:00
|
|
|
|
|
|
|
<!-- Back-to-top button -->
|
|
|
|
{% if "navigation.top" in features %}
|
|
|
|
<a
|
|
|
|
href="#"
|
2022-06-05 14:49:03 +03:00
|
|
|
class="md-top md-icon"
|
2021-03-29 19:46:57 +03:00
|
|
|
data-md-component="top"
|
2022-06-05 14:49:03 +03:00
|
|
|
hidden
|
2021-03-29 19:46:57 +03:00
|
|
|
>
|
|
|
|
{% include ".icons/material/arrow-up.svg" %}
|
2022-11-12 15:56:18 +03:00
|
|
|
{{ lang.t("top") }}
|
2021-03-29 19:46:57 +03:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
2016-08-07 19:01:56 +03:00
|
|
|
</main>
|
|
|
|
|
2021-02-23 01:05:09 +03:00
|
|
|
<!-- Footer -->
|
2019-06-15 16:16:14 +03:00
|
|
|
{% block footer %}
|
|
|
|
{% include "partials/footer.html" %}
|
|
|
|
{% endblock %}
|
2021-02-12 14:12:49 +03:00
|
|
|
</div>
|
2021-02-07 18:27:51 +03:00
|
|
|
|
2021-02-12 14:12:49 +03:00
|
|
|
<!-- Dialog -->
|
|
|
|
<div class="md-dialog" data-md-component="dialog">
|
|
|
|
<div class="md-dialog__inner md-typeset"></div>
|
2016-08-07 19:01:56 +03:00
|
|
|
</div>
|
2016-01-29 01:27:15 +03:00
|
|
|
|
2022-07-20 18:25:55 +03:00
|
|
|
<!-- Consent -->
|
|
|
|
{% if config.extra.consent %}
|
|
|
|
<div class="md-consent" data-md-component="consent" id="__consent" hidden>
|
|
|
|
<div class="md-consent__overlay"></div>
|
|
|
|
<aside class="md-consent__inner">
|
|
|
|
<form class="md-consent__form md-grid md-typeset" name="consent">
|
|
|
|
{% include "partials/consent.html" %}
|
|
|
|
</form>
|
|
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- User preference: consent -->
|
|
|
|
{% include "partials/javascripts/consent.html" %}
|
|
|
|
{% endif %}
|
|
|
|
|
2021-02-07 18:27:51 +03:00
|
|
|
<!-- Theme-related configuration -->
|
|
|
|
{% block config %}
|
|
|
|
{%- set app = {
|
|
|
|
"base": base_url,
|
|
|
|
"features": features,
|
|
|
|
"translations": {},
|
2021-11-28 15:01:27 +03:00
|
|
|
"search": "assets/javascripts/workers/search.js" | url
|
2021-02-07 18:27:51 +03:00
|
|
|
} -%}
|
2017-06-01 01:40:10 +03:00
|
|
|
|
2021-11-28 15:01:27 +03:00
|
|
|
<!-- Versioning -->
|
|
|
|
{%- if config.extra.version -%}
|
|
|
|
{%- set _ = app.update({ "version": config.extra.version }) -%}
|
|
|
|
{%- endif -%}
|
|
|
|
|
2022-09-13 13:35:14 +03:00
|
|
|
<!-- Tags -->
|
|
|
|
{%- if config.extra.tags -%}
|
|
|
|
{%- set _ = app.update({ "tags": config.extra.tags }) -%}
|
|
|
|
{%- endif -%}
|
|
|
|
|
2019-11-26 12:03:53 +03:00
|
|
|
<!-- Translations -->
|
2021-02-07 18:27:51 +03:00
|
|
|
{%- set translations = app.translations -%}
|
2020-02-20 21:57:02 +03:00
|
|
|
{%- for key in [
|
|
|
|
"clipboard.copy",
|
|
|
|
"clipboard.copied",
|
|
|
|
"search.result.placeholder",
|
|
|
|
"search.result.none",
|
|
|
|
"search.result.one",
|
2020-09-27 10:40:05 +03:00
|
|
|
"search.result.other",
|
|
|
|
"search.result.more.one",
|
|
|
|
"search.result.more.other",
|
2021-06-06 16:11:04 +03:00
|
|
|
"search.result.term.missing",
|
2022-11-12 15:56:18 +03:00
|
|
|
"select.version"
|
2020-02-20 21:57:02 +03:00
|
|
|
] -%}
|
|
|
|
{%- set _ = translations.update({ key: lang.t(key) }) -%}
|
|
|
|
{%- endfor -%}
|
2019-11-26 12:36:04 +03:00
|
|
|
|
2021-02-07 18:27:51 +03:00
|
|
|
<!-- Configuration -->
|
|
|
|
<script id="__config" type="application/json">
|
|
|
|
{{- app | tojson -}}
|
2016-12-15 18:43:40 +03:00
|
|
|
</script>
|
2021-02-07 18:27:51 +03:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
<!-- Theme-related JavaScript -->
|
|
|
|
{% block scripts %}
|
|
|
|
<script src="{{ 'assets/javascripts/bundle.js' | url }}"></script>
|
2019-11-26 12:36:04 +03:00
|
|
|
|
|
|
|
<!-- Custom JavaScript -->
|
2022-09-13 13:35:14 +03:00
|
|
|
{% for path in config.extra_javascript %}
|
2018-08-04 20:53:13 +03:00
|
|
|
<script src="{{ path | url }}"></script>
|
2019-06-15 16:16:14 +03:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2022-11-30 14:10:23 +03:00
|
|
|
|
|
|
|
<!-- ᴴₒᴴₒᴴₒ -->
|
|
|
|
{% if page.meta and page.meta.ᴴₒᴴₒᴴₒ %}
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="{{ 'assets/stylesheets/extra.css' | url }}"
|
|
|
|
/>
|
|
|
|
<script
|
|
|
|
src="{{ 'assets/javascripts/extra/bundle.js' | url }}"
|
|
|
|
defer
|
|
|
|
></script>
|
|
|
|
{% endif %}
|
2016-01-29 01:27:15 +03:00
|
|
|
</body>
|
2016-09-23 12:56:25 +03:00
|
|
|
</html>
|