2016-08-07 18:01:56 +02:00
|
|
|
<!--
|
2021-02-14 16:54:27 +01:00
|
|
|
Copyright (c) 2016-2021 Martin Donath <martin.donath@squidfunk.com>
|
2016-08-07 18:01:56 +02: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 15:16:14 +02:00
|
|
|
{% import "partials/language.html" as lang with context %}
|
2017-01-06 19:18:17 +01:00
|
|
|
|
2018-12-20 12:14:03 +01:00
|
|
|
<!doctype html>
|
2017-04-22 14:51:41 +02:00
|
|
|
<html lang="{{ lang.t('language') }}" class="no-js">
|
2016-01-28 23:27:15 +01:00
|
|
|
<head>
|
|
|
|
|
2021-09-23 08:53:51 +02:00
|
|
|
<!-- Meta tags -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block site_meta %}
|
2016-12-15 16:43:40 +01:00
|
|
|
<meta charset="utf-8" />
|
2020-01-30 20:47:34 +01:00
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
2016-12-15 16:43:40 +01:00
|
|
|
|
2017-03-11 14:07:07 +01:00
|
|
|
<!-- Page description -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% if page and page.meta and page.meta.description %}
|
2019-11-26 10:03:53 +01:00
|
|
|
<meta name="description" content="{{ page.meta.description }}" />
|
2019-06-15 15:16:14 +02:00
|
|
|
{% elif config.site_description %}
|
2016-12-15 16:43:40 +01:00
|
|
|
<meta name="description" content="{{ config.site_description }}" />
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
2020-11-05 21:10:58 +01:00
|
|
|
<!-- Page keywords -->
|
|
|
|
{% if page and page.meta and page.meta.keywords %}
|
|
|
|
<meta name="keywords" content="{{ page.meta.keywords }}" />
|
|
|
|
{% elif config.site_keywords %}
|
|
|
|
<meta name="keywords" content="{{ config.site_keywords }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
2017-03-11 14:07:07 +01:00
|
|
|
<!-- Page author -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% if page and page.meta and page.meta.author %}
|
2019-12-23 19:54:01 +01:00
|
|
|
<meta name="author" content="{{ page.meta.author }}" />
|
2019-06-15 15:16:14 +02:00
|
|
|
{% elif config.site_author %}
|
2016-12-15 16:43:40 +01:00
|
|
|
<meta name="author" content="{{ config.site_author }}" />
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
2020-12-20 15:00:21 +01:00
|
|
|
<!-- Canonical -->
|
|
|
|
{% if page.canonical_url %}
|
|
|
|
<link rel="canonical" href="{{ page.canonical_url }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
2016-12-15 16:43:40 +01:00
|
|
|
<!-- Favicon -->
|
2021-03-09 12:39:29 +01:00
|
|
|
<link rel="icon" href="{{ config.theme.favicon | url }}" />
|
2016-12-15 16:43:40 +01:00
|
|
|
|
|
|
|
<!-- Generator banner -->
|
2019-11-26 10:03:53 +01:00
|
|
|
<meta
|
|
|
|
name="generator"
|
|
|
|
content="mkdocs-{{ mkdocs_version }}, $md-name$-$md-version$"
|
|
|
|
/>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endblock %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
2017-09-01 10:07:29 +02:00
|
|
|
<!-- Site title -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block htmltitle %}
|
|
|
|
{% if page and page.meta and page.meta.title %}
|
2020-07-27 17:52:38 +02:00
|
|
|
<title>{{ page.meta.title }} - {{ config.site_name }}</title>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% elif page and page.title and not page.is_homepage %}
|
2019-08-23 11:02:28 +02:00
|
|
|
<title>{{ page.title | striptags }} - {{ config.site_name }}</title>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% else %}
|
2016-12-15 16:43:40 +01:00
|
|
|
<title>{{ config.site_name }}</title>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
2019-11-26 10:36:04 +01:00
|
|
|
<!-- Theme-related stylesheets -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block styles %}
|
2020-02-29 19:25:42 +01:00
|
|
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.css' | url }}" />
|
2017-02-10 16:43:32 +01:00
|
|
|
|
|
|
|
<!-- Extra color palette -->
|
2020-09-27 09:40:05 +02:00
|
|
|
{% if config.theme.palette %}
|
|
|
|
{% set palette = config.theme.palette %}
|
2019-11-26 10:03:53 +01:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
2020-02-29 19:25:42 +01:00
|
|
|
href="{{ 'assets/stylesheets/palette.css' | url }}"
|
2019-11-26 10:03:53 +01:00
|
|
|
/>
|
2018-06-13 10:18:00 +02:00
|
|
|
|
2020-09-27 09:40:05 +02:00
|
|
|
<!-- Theme-color meta tag for Android -->
|
|
|
|
{% if palette.primary %}
|
|
|
|
{% import "partials/palette.html" as map %}
|
|
|
|
{% set primary = map.primary(
|
|
|
|
palette.primary | replace(" ", "-") | lower
|
|
|
|
) %}
|
|
|
|
<meta name="theme-color" content="{{ primary }}" />
|
|
|
|
{% endif %}
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2017-02-10 16:43:32 +01:00
|
|
|
|
2017-11-01 18:25:08 +01:00
|
|
|
<!-- JavaScript libraries -->
|
2019-09-28 20:39:07 +02:00
|
|
|
{% block libs %}{% endblock %}
|
2017-11-01 18:25:08 +01:00
|
|
|
|
2017-09-01 10:07:29 +02:00
|
|
|
<!-- Webfonts -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block fonts %}
|
2018-09-03 09:42:39 +02:00
|
|
|
|
2018-02-22 19:15:32 +01:00
|
|
|
<!-- Load fonts from Google -->
|
2020-09-27 09:40:05 +02:00
|
|
|
{% if config.theme.font != false %}
|
|
|
|
{% set font = config.theme.font %}
|
2020-12-20 15:00:21 +01:00
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
2019-11-26 10:03:53 +01:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://fonts.googleapis.com/css?family={{
|
2019-12-17 09:59:59 +01:00
|
|
|
font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
|
2019-11-26 10:03:53 +01:00
|
|
|
font.code | replace(' ', '+')
|
|
|
|
}}&display=fallback"
|
|
|
|
/>
|
2017-01-13 00:31:37 +01:00
|
|
|
<style>
|
2021-02-06 09:57:40 +01:00
|
|
|
:root {
|
2021-02-21 17:35:11 +01:00
|
|
|
--md-text-font-family: "{{ font.text }}";
|
|
|
|
--md-code-font-family: "{{ font.code }}";
|
2017-01-13 00:31:37 +01:00
|
|
|
}
|
|
|
|
</style>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
2018-11-13 22:24:17 +01:00
|
|
|
<!-- Progressive Web App Manifest -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% if config.extra.manifest %}
|
2019-12-25 15:14:02 +01:00
|
|
|
<link
|
|
|
|
rel="manifest"
|
|
|
|
href="{{ config.extra.manifest | url }}"
|
|
|
|
crossorigin="use-credentials"
|
|
|
|
/>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
2018-11-13 22:24:17 +01:00
|
|
|
|
2021-01-24 13:02:42 +01:00
|
|
|
<!-- Custom stylesheets -->
|
2020-03-05 19:16:25 +01:00
|
|
|
{% for path in config["extra_css"] %}
|
|
|
|
<link rel="stylesheet" href="{{ path | url }}" />
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endfor %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
2019-11-26 10:36:04 +01:00
|
|
|
<!-- Analytics -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block analytics %}
|
2021-06-06 17:32:30 +02:00
|
|
|
{% include "partials/integrations/analytics.html" %}
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endblock %}
|
2019-01-28 11:18:22 +01:00
|
|
|
|
2017-09-01 10:07:29 +02:00
|
|
|
<!-- Custom front matter -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block extrahead %}{% endblock %}
|
2016-01-28 23:27:15 +01:00
|
|
|
</head>
|
2016-12-17 12:53:24 +01:00
|
|
|
|
2021-04-11 14:17:47 +02:00
|
|
|
<!-- Set text direction and color palette, if defined -->
|
2020-03-06 10:28:54 +01:00
|
|
|
{% set direction = config.theme.direction or lang.t('direction') %}
|
2020-09-27 09:40:05 +02:00
|
|
|
{% if config.theme.palette %}
|
|
|
|
{% set palette = config.theme.palette %}
|
|
|
|
{% if not palette is mapping %}
|
|
|
|
{% set palette = palette | first %}
|
|
|
|
{% endif %}
|
|
|
|
{% set scheme = palette.scheme | replace(" ", "-") | lower %}
|
2019-06-15 15:16:14 +02:00
|
|
|
{% set primary = palette.primary | replace(" ", "-") | lower %}
|
|
|
|
{% set accent = palette.accent | replace(" ", "-") | lower %}
|
2019-11-26 10:03:53 +01:00
|
|
|
<body
|
2020-03-04 22:06:05 +01:00
|
|
|
dir="{{ direction }}"
|
2020-04-25 19:07:23 +02:00
|
|
|
data-md-color-scheme="{{ scheme }}"
|
2019-11-26 10:03:53 +01:00
|
|
|
data-md-color-primary="{{ primary }}"
|
|
|
|
data-md-color-accent="{{ accent }}"
|
|
|
|
>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% else %}
|
2020-03-04 22:06:05 +01:00
|
|
|
<body dir="{{ direction }}">
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
2016-01-28 23:27:15 +01:00
|
|
|
|
2020-12-20 15:00:21 +01:00
|
|
|
<!-- Retrieve features from configuration -->
|
2021-02-25 17:29:11 +01:00
|
|
|
{% set features = config.theme.features or [] %}
|
2021-03-29 18:46:57 +02:00
|
|
|
{% include "partials/javascripts/base.html" %}
|
|
|
|
|
|
|
|
<!-- User preference: color palette -->
|
|
|
|
{% if not config.theme.palette is mapping %}
|
|
|
|
{% include "partials/javascripts/palette.html" %}
|
|
|
|
{% endif %}
|
2020-12-20 15:00:21 +01:00
|
|
|
|
2018-03-21 20:21:49 +01: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 10:03:53 +01: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-28 23:27:15 +01:00
|
|
|
|
|
|
|
<!-- Overlay for expanded drawer -->
|
2019-12-22 17:30:55 +01:00
|
|
|
<label class="md-overlay" for="__drawer"></label>
|
2016-01-28 23:27:15 +01:00
|
|
|
|
2021-02-06 12:35:19 +01:00
|
|
|
<!-- Skip to content -->
|
2020-03-28 18:10:08 +01: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">
|
|
|
|
{{ lang.t('skip.link.title') }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-01-25 14:26:06 +01:00
|
|
|
|
|
|
|
<!-- Announcement bar -->
|
2020-03-28 18:10:08 +01:00
|
|
|
<div data-md-component="announce">
|
|
|
|
{% if self.announce() %}
|
2021-08-11 22:09:35 +02:00
|
|
|
<aside class="md-banner md-announce">
|
|
|
|
<div class="md-banner__inner md-announce__inner md-grid md-typeset">
|
2020-03-28 18:10:08 +01:00
|
|
|
{% block announce %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
</aside>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2018-01-18 21:19:10 +01:00
|
|
|
|
2021-02-22 23:05:09 +01:00
|
|
|
<!-- Header -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block header %}
|
|
|
|
{% include "partials/header.html" %}
|
|
|
|
{% endblock %}
|
2016-01-28 23:27:15 +01:00
|
|
|
|
2021-02-06 12:35:19 +01:00
|
|
|
<!-- Container -->
|
2019-11-22 17:53:12 +01:00
|
|
|
<div class="md-container" data-md-component="container">
|
2017-10-11 18:31:46 +02:00
|
|
|
|
2017-11-22 00:13:56 +01:00
|
|
|
<!-- Hero teaser -->
|
2020-09-27 08:54:36 +02:00
|
|
|
{% block hero %}{% endblock %}
|
2017-11-22 00:13:56 +01:00
|
|
|
|
2021-09-23 08:53:51 +02:00
|
|
|
<!-- Navigation tabs (collapsing) -->
|
2020-02-13 10:10:04 +01:00
|
|
|
{% block tabs %}
|
2021-09-23 08:53:51 +02:00
|
|
|
{% if not "navigation.tabs.sticky" in features %}
|
|
|
|
{% if "navigation.tabs" in features %}
|
|
|
|
{% include "partials/tabs.html" %}
|
|
|
|
{% endif %}
|
2020-02-13 10:10:04 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-02-05 15:34:19 +01:00
|
|
|
|
2019-11-26 10:36:04 +01:00
|
|
|
<!-- Main area -->
|
2019-12-18 14:57:37 +01:00
|
|
|
<main class="md-main" data-md-component="main">
|
|
|
|
<div class="md-main__inner md-grid">
|
2016-01-28 23:27:15 +01:00
|
|
|
|
2017-09-01 10:07:29 +02:00
|
|
|
<!-- Navigation -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block site_nav %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
|
|
|
<!-- Main navigation -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% if nav %}
|
2020-12-20 15:00:21 +01:00
|
|
|
{% if page and page.meta and page.meta.hide %}
|
|
|
|
{% set hidden = "hidden" if "navigation" in page.meta.hide %}
|
|
|
|
{% endif %}
|
2019-11-26 10:03:53 +01:00
|
|
|
<div
|
|
|
|
class="md-sidebar md-sidebar--primary"
|
2021-03-13 15:53:37 +01:00
|
|
|
data-md-component="sidebar"
|
|
|
|
data-md-type="navigation"
|
2020-12-20 15:00:21 +01:00
|
|
|
{{ hidden }}
|
2019-11-26 10:03:53 +01:00
|
|
|
>
|
2016-12-15 16:43:40 +01:00
|
|
|
<div class="md-sidebar__scrollwrap">
|
|
|
|
<div class="md-sidebar__inner">
|
2019-06-15 15:16:14 +02:00
|
|
|
{% include "partials/nav.html" %}
|
2016-12-15 16:43:40 +01:00
|
|
|
</div>
|
2016-09-23 11:56:25 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
2016-12-15 16:43:40 +01:00
|
|
|
|
|
|
|
<!-- Table of contents -->
|
2020-12-20 15:00:21 +01:00
|
|
|
{% if page.toc and not "toc.integrate" in features %}
|
|
|
|
{% if page and page.meta and page.meta.hide %}
|
|
|
|
{% set hidden = "hidden" if "toc" in page.meta.hide %}
|
|
|
|
{% endif %}
|
2019-11-26 10:03:53 +01:00
|
|
|
<div
|
|
|
|
class="md-sidebar md-sidebar--secondary"
|
2021-03-13 15:53:37 +01:00
|
|
|
data-md-component="sidebar"
|
|
|
|
data-md-type="toc"
|
2020-12-20 15:00:21 +01:00
|
|
|
{{ hidden }}
|
2019-11-26 10:03:53 +01:00
|
|
|
>
|
2016-12-15 16:43:40 +01:00
|
|
|
<div class="md-sidebar__scrollwrap">
|
|
|
|
<div class="md-sidebar__inner">
|
2019-06-15 15:16:14 +02:00
|
|
|
{% include "partials/toc.html" %}
|
2016-12-15 16:43:40 +01:00
|
|
|
</div>
|
2016-09-23 11:56:25 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2016-01-28 23:27:15 +01:00
|
|
|
|
2016-08-07 18:01:56 +02:00
|
|
|
<!-- Article -->
|
2021-02-07 16:27:51 +01:00
|
|
|
<div class="md-content" data-md-component="content">
|
2016-09-23 20:26:27 +02:00
|
|
|
<article class="md-content__inner md-typeset">
|
2016-09-11 19:00:53 +02:00
|
|
|
|
2017-09-01 10:07:29 +02:00
|
|
|
<!-- Content -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block content %}
|
2016-09-11 19:00:53 +02:00
|
|
|
|
2020-02-24 18:07:50 +01:00
|
|
|
<!-- Edit button -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% if page.edit_url %}
|
2019-11-26 10:03:53 +01:00
|
|
|
<a
|
|
|
|
href="{{ page.edit_url }}"
|
|
|
|
title="{{ lang.t('edit.link.title') }}"
|
2020-02-24 18:07:50 +01:00
|
|
|
class="md-content__button md-icon"
|
|
|
|
>
|
|
|
|
{% include ".icons/material/pencil.svg" %}
|
|
|
|
</a>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endif %}
|
2017-03-01 15:43:49 +01:00
|
|
|
|
2020-02-24 18:07:50 +01:00
|
|
|
<!--
|
|
|
|
Hack: check whether the content contains a h1 headline. If it
|
|
|
|
doesn't, the page title (or respectively site name) is used
|
|
|
|
as the main headline.
|
|
|
|
-->
|
|
|
|
{% if not "\x3ch1" in page.content %}
|
2020-12-20 15:00:21 +01:00
|
|
|
<h1>{{ page.title | d(config.site_name, true)}}</h1>
|
2020-02-24 18:07:50 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2021-02-24 18:02:09 +01:00
|
|
|
<!-- Markdown content -->
|
2020-02-24 18:07:50 +01:00
|
|
|
{{ page.content }}
|
|
|
|
|
2020-03-05 10:13:28 +01:00
|
|
|
<!-- Last update of source file -->
|
|
|
|
{% if page and page.meta %}
|
|
|
|
{% if page.meta.git_revision_date_localized or
|
|
|
|
page.meta.revision_date
|
|
|
|
%}
|
2021-05-02 15:32:43 +02:00
|
|
|
{% include "partials/source-file.html" %}
|
2020-03-05 10:13:28 +01:00
|
|
|
{% endif %}
|
2019-12-11 10:46:03 +01:00
|
|
|
{% endif %}
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endblock %}
|
2017-02-24 22:53:12 +01:00
|
|
|
|
|
|
|
<!-- Disqus integration -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block disqus %}
|
|
|
|
{% include "partials/integrations/disqus.html" %}
|
|
|
|
{% endblock %}
|
2016-08-07 18:01:56 +02:00
|
|
|
</article>
|
2016-01-28 23:27:15 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-29 18:46:57 +02:00
|
|
|
|
|
|
|
<!-- Back-to-top button -->
|
|
|
|
{% if "navigation.top" in features %}
|
|
|
|
<a
|
|
|
|
href="#"
|
|
|
|
class="md-top md-icon"
|
|
|
|
data-md-component="top"
|
|
|
|
data-md-state="hidden"
|
|
|
|
>
|
|
|
|
{% include ".icons/material/arrow-up.svg" %}
|
2021-07-01 19:12:40 +02:00
|
|
|
{{ lang.t('top.title') }}
|
2021-03-29 18:46:57 +02:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
2016-08-07 18:01:56 +02:00
|
|
|
</main>
|
|
|
|
|
2021-02-22 23:05:09 +01:00
|
|
|
<!-- Footer -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% block footer %}
|
|
|
|
{% include "partials/footer.html" %}
|
|
|
|
{% endblock %}
|
2021-02-12 12:12:49 +01:00
|
|
|
</div>
|
2021-02-07 16:27:51 +01:00
|
|
|
|
2021-02-12 12:12:49 +01:00
|
|
|
<!-- Dialog -->
|
|
|
|
<div class="md-dialog" data-md-component="dialog">
|
|
|
|
<div class="md-dialog__inner md-typeset"></div>
|
2016-08-07 18:01:56 +02:00
|
|
|
</div>
|
2016-01-28 23:27:15 +01:00
|
|
|
|
2021-02-07 16:27:51 +01:00
|
|
|
<!-- Theme-related configuration -->
|
|
|
|
{% block config %}
|
|
|
|
{%- set app = {
|
|
|
|
"base": base_url,
|
|
|
|
"features": features,
|
|
|
|
"translations": {},
|
2021-02-21 14:34:17 +01:00
|
|
|
"search": "assets/javascripts/workers/search.js" | url,
|
2021-02-22 21:01:04 +01:00
|
|
|
"version": config.extra.version or None
|
2021-02-07 16:27:51 +01:00
|
|
|
} -%}
|
2017-06-01 00:40:10 +02:00
|
|
|
|
2019-11-26 10:03:53 +01:00
|
|
|
<!-- Translations -->
|
2021-02-07 16:27:51 +01:00
|
|
|
{%- set translations = app.translations -%}
|
2020-02-20 19:57:02 +01:00
|
|
|
{%- for key in [
|
|
|
|
"clipboard.copy",
|
|
|
|
"clipboard.copied",
|
2020-03-05 11:35:19 +01:00
|
|
|
"search.config.lang",
|
|
|
|
"search.config.pipeline",
|
|
|
|
"search.config.separator",
|
2020-10-04 15:24:21 +02:00
|
|
|
"search.placeholder",
|
2020-02-20 19:57:02 +01:00
|
|
|
"search.result.placeholder",
|
|
|
|
"search.result.none",
|
|
|
|
"search.result.one",
|
2020-09-27 09:40:05 +02:00
|
|
|
"search.result.other",
|
|
|
|
"search.result.more.one",
|
|
|
|
"search.result.more.other",
|
2021-06-06 15:11:04 +02:00
|
|
|
"search.result.term.missing",
|
|
|
|
"select.version.title"
|
2020-02-20 19:57:02 +01:00
|
|
|
] -%}
|
|
|
|
{%- set _ = translations.update({ key: lang.t(key) }) -%}
|
|
|
|
{%- endfor -%}
|
2019-11-26 10:36:04 +01:00
|
|
|
|
2021-02-07 16:27:51 +01:00
|
|
|
<!-- Configuration -->
|
|
|
|
<script id="__config" type="application/json">
|
|
|
|
{{- app | tojson -}}
|
2016-12-15 16:43:40 +01:00
|
|
|
</script>
|
2021-02-07 16:27:51 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
<!-- Theme-related JavaScript -->
|
|
|
|
{% block scripts %}
|
|
|
|
<script src="{{ 'assets/javascripts/bundle.js' | url }}"></script>
|
2019-11-26 10:36:04 +01:00
|
|
|
|
|
|
|
<!-- Custom JavaScript -->
|
2019-06-15 15:16:14 +02:00
|
|
|
{% for path in config["extra_javascript"] %}
|
2018-08-04 19:53:13 +02:00
|
|
|
<script src="{{ path | url }}"></script>
|
2019-06-15 15:16:14 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2016-01-28 23:27:15 +01:00
|
|
|
</body>
|
2016-09-23 11:56:25 +02:00
|
|
|
</html>
|