1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Reverted template minification, added minification by plugin

This commit is contained in:
squidfunk 2019-06-15 15:16:14 +02:00
parent fb981cf92a
commit 91f2289587
76 changed files with 1630 additions and 328 deletions

View File

@ -1,4 +1,7 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% extends "base.html" %} {% block content %}<h1>404 - Not found</h1>{% endblock %} {% extends "base.html" %}
{% block content %}
<h1>404 - Not found</h1>
{% endblock %}

View File

@ -1,7 +1,223 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- import "partials/language.html" as lang with context -%} {%- set feature = config.theme.feature -%} {%- set palette = config.theme.palette -%} {%- set font = config.theme.font -%}<!doctype html><html lang="{{ lang.t('language') }}" class="no-js"><head>{%- block site_meta -%}<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="x-ua-compatible" content="ie=edge">{%- if page and page.meta and page.meta.description -%}<meta name="description" content="{{ page.meta.description }}">{%- elif config.site_description -%}<meta name="description" content="{{ config.site_description }}">{%- endif -%} {%- if page and page.meta and page.meta.redirect -%}<script>var anchor=window.location.hash.substr(1);location.href="{{ page.meta.redirect }}"+(anchor?"#"+anchor:"")</script><meta http-equiv="refresh" content="0; url={{ page.meta.redirect }}"><meta name="robots" content="noindex"><link rel="canonical" href="{{ page.meta.redirect }}">{%- elif page.canonical_url -%}<link rel="canonical" href="{{ page.canonical_url }}">{%- endif -%} {%- if page and page.meta and page.meta.author -%}<meta name="author" content="{{ page.meta.author | first }}">{%- elif config.site_author -%}<meta name="author" content="{{ config.site_author }}">{%- endif -%} {%- for key in [ "clipboard.copy", "clipboard.copied", "search.language", "search.pipeline.stopwords", "search.pipeline.trimmer", "search.result.none", "search.result.one", "search.result.other", "search.tokenizer" ] -%}<meta name="lang:{{ key }}" content="{{ lang.t(key) }}">{%- endfor -%}<link rel="shortcut icon" href="{{ config.theme.favicon | url }}"><meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.3.1">{%- endblock -%} {%- block htmltitle -%} {%- if page and page.meta and page.meta.title -%}<title>{{ page.meta.title }}</title>{%- elif page and page.title and not page.is_homepage -%}<title>{{ page.title }} - {{ config.site_name }}</title>{%- else -%}<title>{{ config.site_name }}</title>{%- endif -%} {%- endblock -%} {%- block styles -%}<link rel="stylesheet" href="{{ 'assets/stylesheets/application.4031d38b.css' | url }}">{%- if palette.primary or palette.accent -%}<link rel="stylesheet" href="{{ 'assets/stylesheets/application-palette.224b79ff.css' | url }}">{%- endif -%} {%- if palette.primary -%} {%- import "partials/palette.html" as map -%} {%- set primary = map.primary( palette.primary | replace(" ", "-") | lower ) -%}<meta name="theme-color" content="{{ primary }}">{%- endif -%} {%- endblock -%} {%- block libs -%}<script src="{{ 'assets/javascripts/modernizr.74668098.js' | url }}"></script>{%- endblock -%} {%- block fonts -%} {%- if font != false -%}<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ {% import "partials/language.html" as lang with context %}
{% set feature = config.theme.feature %}
{% set palette = config.theme.palette %}
{% set font = config.theme.font %}
<!doctype html>
<html lang="{{ lang.t('language') }}" class="no-js">
<head>
{% block site_meta %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
{% if page and page.meta and page.meta.description %}
<meta name="description" content="{{ page.meta.description }}">
{% elif config.site_description %}
<meta name="description" content="{{ config.site_description }}">
{% endif %}
{% if page and page.meta and page.meta.redirect %}
<script>var anchor=window.location.hash.substr(1);location.href="{{ page.meta.redirect }}"+(anchor?"#"+anchor:"")</script>
<meta http-equiv="refresh" content="0; url={{ page.meta.redirect }}">
<meta name="robots" content="noindex">
<link rel="canonical" href="{{ page.meta.redirect }}">
{% elif page.canonical_url %}
<link rel="canonical" href="{{ page.canonical_url }}">
{% endif %}
{% if page and page.meta and page.meta.author %}
<meta name="author" content="{{ page.meta.author | first }}">
{% elif config.site_author %}
<meta name="author" content="{{ config.site_author }}">
{% endif %}
{% for key in [
"clipboard.copy",
"clipboard.copied",
"search.language",
"search.pipeline.stopwords",
"search.pipeline.trimmer",
"search.result.none",
"search.result.one",
"search.result.other",
"search.tokenizer"
] %}
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
{% endfor %}
<link rel="shortcut icon" href="{{ config.theme.favicon | url }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.3.1">
{% endblock %}
{% block htmltitle %}
{% if page and page.meta and page.meta.title %}
<title>{{ page.meta.title }}</title>
{% elif page and page.title and not page.is_homepage %}
<title>{{ page.title }} - {{ config.site_name }}</title>
{% else %}
<title>{{ config.site_name }}</title>
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/application.4031d38b.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/application-palette.224b79ff.css' | url }}">
{% endif %}
{% if palette.primary %}
{% import "partials/palette.html" as map %}
{% set primary = map.primary(
palette.primary | replace(" ", "-") | lower
) %}
<meta name="theme-color" content="{{ primary }}">
{% endif %}
{% endblock %}
{% block libs %}
<script src="{{ 'assets/javascripts/modernizr.74668098.js' | url }}"></script>
{% endblock %}
{% block fonts %}
{% if font != false %}
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{
font.text | replace(' ', '+') + ':300,400,400i,700|' + font.text | replace(' ', '+') + ':300,400,400i,700|' +
font.code | replace(' ', '+') font.code | replace(' ', '+')
}}&display=fallback"><style>body,input{font-family:"{{ font.text }}","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}","Courier New",Courier,monospace}</style>{%- endif -%} {%- endblock -%}<link rel="stylesheet" href="{{ 'assets/fonts/material-icons.css' | url }}">{%- if config.extra.manifest -%}<link rel="manifest" href="{{ config.extra.manifest | url }}">{%- endif -%} {%- for path in config["extra_css"] -%}<link rel="stylesheet" href="{{ path | url }}">{%- endfor -%} {%- block analytics -%} {%- if config.google_analytics -%} {%- include "partials/integrations/analytics.html" -%} {%- endif -%} {%- endblock -%} {%- block extrahead -%}{%- endblock -%}</head>{%- if palette.primary or palette.accent -%} {%- set primary = palette.primary | replace(" ", "-") | lower -%} {%- set accent = palette.accent | replace(" ", "-") | lower -%}<body dir="{{ lang.t('direction') }}" data-md-color-primary="{{ primary }}" data-md-color-accent="{{ accent }}">{%- else -%}<body dir="{{ lang.t('direction') }}">{%- endif -%} <svg class="md-svg"><defs>{%- set platform = config.extra.repo_icon or config.repo_url -%} {%- if "github" in platform -%} {%- include "assets/images/icons/github.f0b8504a.svg" -%} {%- elif "gitlab" in platform -%} {%- include "assets/images/icons/gitlab.6dd19c00.svg" -%} {%- elif "bitbucket" in platform -%} {%- include "assets/images/icons/bitbucket.1b09e088.svg" -%} {%- endif -%}</defs></svg> <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"> <label class="md-overlay" data-md-component="overlay" for="__drawer"></label> {%- if page.toc | first is defined -%} <a href="{{ (page.toc | first).url }}" tabindex="1" class="md-skip">{{ lang.t('skip.link.title') }} </a>{%- endif -%} {%- block header -%} {%- include "partials/header.html" -%} {%- endblock -%}<div class="md-container">{%- block hero -%} {%- if page and page.meta and page.meta.hero -%} {%- include "partials/hero.html" with context -%} {%- endif -%} {%- endblock -%} {%- if feature.tabs -%} {%- include "partials/tabs.html" -%} {%- endif -%}<main class="md-main"><div class="md-main__inner md-grid" data-md-component="container">{%- block site_nav -%} {%- if nav -%}<div class="md-sidebar md-sidebar--primary" data-md-component="navigation"><div class="md-sidebar__scrollwrap"><div class="md-sidebar__inner">{%- include "partials/nav.html" -%}</div></div></div>{%- endif -%} {%- if page.toc -%}<div class="md-sidebar md-sidebar--secondary" data-md-component="toc"><div class="md-sidebar__scrollwrap"><div class="md-sidebar__inner">{%- include "partials/toc.html" -%}</div></div></div>{%- endif -%} {%- endblock -%}<div class="md-content"><article class="md-content__inner md-typeset">{%- block content -%} {%- if page.edit_url -%} <a href="{{ page.edit_url }}" title="{{ lang.t('edit.link.title') }}" class="md-icon md-content__icon">&#xE3C9;</a> {%- endif -%} {%- if not "\x3ch1" in page.content -%}<h1>{{ page.title | default(config.site_name, true)}}</h1>{%- endif -%} {{ page.content }} {%- block source -%} {%- if page and page.meta and page.meta.source -%}<h2 id="__source">{{ lang.t("meta.source") }}</h2>{%- set repo = config.repo_url -%} {%- if repo | last == "/" -%} {%- set repo = repo[:-1] -%} {%- endif -%} {%- set path = page.meta.path | default([""]) -%} {%- set file = page.meta.source -%} <a href="{{ [repo, path, file] | join('/') }}" title="{{ file }}" class="md-source-file">{{ file }} </a>{%- endif -%} {%- endblock -%} {%- endblock -%} {%- block disqus -%} {%- include "partials/integrations/disqus.html" -%} {%- endblock -%}</article></div></div></main>{%- block footer -%} {%- include "partials/footer.html" -%} {%- endblock -%}</div>{%- block scripts -%}<script src="{{ 'assets/javascripts/application.d5a09f94.js' | url }}"></script>{%- if lang.t("search.language") != "en" -%} {%- set languages = lang.t("search.language").split(",") -%} {%- if languages | length and languages[0] != "" -%} {%- set path = "assets/javascripts/lunr/" -%}<script src="{{ (path ~ 'lunr.stemmer.support.js') | url }}"></script>{%- for language in languages | map("trim") -%} {%- if language != "en" -%} {%- if language == "ja" -%}<script src="{{ (path ~ 'tinyseg.js') | url }}"></script>{%- endif -%} {%- if language in ("da", "de", "es", "fi", "fr", "hu", "it", "ja", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr") -%}<script src="{{ (path ~ 'lunr.' ~ language ~ '.js') | url }}"></script>{%- endif -%} {%- endif -%} {%- endfor -%} {%- if languages | length > 1 -%}<script src="{{ (path ~ 'lunr.multi.js') | url }}"></script>{%- endif -%} {%- endif -%} {%- endif -%}<script>app.initialize({version:"{{ mkdocs_version }}",url:{base:"{{ base_url }}"}})</script>{%- for path in config["extra_javascript"] -%}<script src="{{ path | url }}"></script>{%- endfor -%} {%- endblock -%}</body></html> }}&display=fallback">
<style>body,input{font-family:"{{ font.text }}","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}","Courier New",Courier,monospace}</style>
{% endif %}
{% endblock %}
<link rel="stylesheet" href="{{ 'assets/fonts/material-icons.css' | url }}">
{% if config.extra.manifest %}
<link rel="manifest" href="{{ config.extra.manifest | url }}">
{% endif %}
{% for path in config["extra_css"] %}
<link rel="stylesheet" href="{{ path | url }}">
{% endfor %}
{% block analytics %}
{% if config.google_analytics %}
{% include "partials/integrations/analytics.html" %}
{% endif %}
{% endblock %}
{% block extrahead %}{% endblock %}
</head>
{% if palette.primary or palette.accent %}
{% set primary = palette.primary | replace(" ", "-") | lower %}
{% set accent = palette.accent | replace(" ", "-") | lower %}
<body dir="{{ lang.t('direction') }}" data-md-color-primary="{{ primary }}" data-md-color-accent="{{ accent }}">
{% else %}
<body dir="{{ lang.t('direction') }}">
{% endif %}
<svg class="md-svg">
<defs>
{% set platform = config.extra.repo_icon or config.repo_url %}
{% if "github" in platform %}
{% include "assets/images/icons/github.f0b8504a.svg" %}
{% elif "gitlab" in platform %}
{% include "assets/images/icons/gitlab.6dd19c00.svg" %}
{% elif "bitbucket" in platform %}
{% include "assets/images/icons/bitbucket.1b09e088.svg" %}
{% endif %}
</defs>
</svg>
<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">
<label class="md-overlay" data-md-component="overlay" for="__drawer"></label>
{% if page.toc | first is defined %}
<a href="{{ (page.toc | first).url }}" tabindex="1" class="md-skip">
{{ lang.t('skip.link.title') }}
</a>
{% endif %}
{% block header %}
{% include "partials/header.html" %}
{% endblock %}
<div class="md-container">
{% block hero %}
{% if page and page.meta and page.meta.hero %}
{% include "partials/hero.html" with context %}
{% endif %}
{% endblock %}
{% if feature.tabs %}
{% include "partials/tabs.html" %}
{% endif %}
<main class="md-main">
<div class="md-main__inner md-grid" data-md-component="container">
{% block site_nav %}
{% if nav %}
<div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/nav.html" %}
</div>
</div>
</div>
{% endif %}
{% if page.toc %}
<div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/toc.html" %}
</div>
</div>
</div>
{% endif %}
{% endblock %}
<div class="md-content">
<article class="md-content__inner md-typeset">
{% block content %}
{% if page.edit_url %}
<a href="{{ page.edit_url }}" title="{{ lang.t('edit.link.title') }}" class="md-icon md-content__icon">&#xE3C9;</a>
{% endif %}
{% if not "\x3ch1" in page.content %}
<h1>{{ page.title | default(config.site_name, true)}}</h1>
{% endif %}
{{ page.content }}
{% block source %}
{% if page and page.meta and page.meta.source %}
<h2 id="__source">{{ lang.t("meta.source") }}</h2>
{% set repo = config.repo_url %}
{% if repo | last == "/" %}
{% set repo = repo[:-1] %}
{% endif %}
{% set path = page.meta.path | default([""]) %}
{% set file = page.meta.source %}
<a href="{{ [repo, path, file] | join('/') }}" title="{{ file }}" class="md-source-file">
{{ file }}
</a>
{% endif %}
{% endblock %}
{% endblock %}
{% block disqus %}
{% include "partials/integrations/disqus.html" %}
{% endblock %}
</article>
</div>
</div>
</main>
{% block footer %}
{% include "partials/footer.html" %}
{% endblock %}
</div>
{% block scripts %}
<script src="{{ 'assets/javascripts/application.d5a09f94.js' | url }}"></script>
{% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %}
{% set path = "assets/javascripts/lunr/" %}
<script src="{{ (path ~ 'lunr.stemmer.support.js') | url }}"></script>
{% for language in languages | map("trim") %}
{% if language != "en" %}
{% if language == "ja" %}
<script src="{{ (path ~ 'tinyseg.js') | url }}"></script>
{% endif %}
{% if language in ("da", "de", "es", "fi", "fr", "hu", "it", "ja", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr") %}
<script src="{{ (path ~ 'lunr.' ~ language ~ '.js') | url }}"></script>
{% endif %}
{% endif %}
{% endfor %}
{% if languages | length > 1 %}
<script src="{{ (path ~ 'lunr.multi.js') | url }}"></script>
{% endif %}
{% endif %}
{% endif %}
<script>app.initialize({version:"{{ mkdocs_version }}",url:{base:"{{ base_url }}"}})</script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}
{% endblock %}
</body>
</html>

View File

@ -1,4 +1,59 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- import "partials/language.html" as lang with context -%}<footer class="md-footer">{%- if page.previous_page or page.next_page -%}<div class="md-footer-nav"><nav class="md-footer-nav__inner md-grid">{%- if page.previous_page -%} <a href="{{ page.previous_page.url | url }}" title="{{ page.previous_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--prev" rel="prev"><div class="md-flex__cell md-flex__cell--shrink"><i class="md-icon md-icon--arrow-back md-footer-nav__button"></i></div><div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title"><span class="md-flex__ellipsis"><span class="md-footer-nav__direction">{{- lang.t("footer.previous") -}} </span>{{- page.previous_page.title -}}</span></div></a>{%- endif -%} {%- if page.next_page -%} <a href="{{ page.next_page.url | url }}" title="{{ page.next_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--next" rel="next"><div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title"><span class="md-flex__ellipsis"><span class="md-footer-nav__direction">{{- lang.t("footer.next") -}} </span>{{- page.next_page.title -}}</span></div><div class="md-flex__cell md-flex__cell--shrink"><i class="md-icon md-icon--arrow-forward md-footer-nav__button"></i></div></a>{%- endif -%}</nav></div>{%- endif -%}<div class="md-footer-meta md-typeset"><div class="md-footer-meta__inner md-grid"><div class="md-footer-copyright">{%- if config.copyright -%}<div class="md-footer-copyright__highlight">{{- config.copyright -}}</div>{%- endif -%} powered by <a href="https://www.mkdocs.org">MkDocs</a> and <a href="https://squidfunk.github.io/mkdocs-material/">Material for MkDocs</a></div>{%- include "partials/social.html" -%}</div></div></footer> {% import "partials/language.html" as lang with context %}
<footer class="md-footer">
{% if page.previous_page or page.next_page %}
<div class="md-footer-nav">
<nav class="md-footer-nav__inner md-grid">
{% if page.previous_page %}
<a href="{{ page.previous_page.url | url }}" title="{{ page.previous_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--prev" rel="prev">
<div class="md-flex__cell md-flex__cell--shrink">
<i class="md-icon md-icon--arrow-back md-footer-nav__button"></i>
</div>
<div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title">
<span class="md-flex__ellipsis">
<span class="md-footer-nav__direction">
{{- lang.t("footer.previous") -}}
</span>
{{- page.previous_page.title -}}
</span>
</div>
</a>
{% endif %}
{% if page.next_page %}
<a href="{{ page.next_page.url | url }}" title="{{ page.next_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--next" rel="next">
<div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title">
<span class="md-flex__ellipsis">
<span class="md-footer-nav__direction">
{{- lang.t("footer.next") -}}
</span>
{{- page.next_page.title -}}
</span>
</div>
<div class="md-flex__cell md-flex__cell--shrink">
<i class="md-icon md-icon--arrow-forward md-footer-nav__button"></i>
</div>
</a>
{% endif %}
</nav>
</div>
{% endif %}
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-footer-copyright">
{% if config.copyright %}
<div class="md-footer-copyright__highlight">
{{- config.copyright -}}
</div>
{% endif %}
powered by
<a href="https://www.mkdocs.org">MkDocs</a>
and
<a href="https://squidfunk.github.io/mkdocs-material/">
Material for MkDocs</a>
</div>
{% include "partials/social.html" %}
</div>
</div>
</footer>

View File

@ -1,4 +1,52 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
<header class="md-header" data-md-component="header"><nav class="md-header-nav md-grid"><div class="md-flex"><div class="md-flex__cell md-flex__cell--shrink"><a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" title="{{ config.site_name }}" class="md-header-nav__button md-logo">{%- if config.theme.logo.icon -%} <i class="md-icon">{{- config.theme.logo.icon -}}</i> {%- else -%} <img src="{{ config.theme.logo | url }}" width="24" height="24"> {%- endif -%}</a></div><div class="md-flex__cell md-flex__cell--shrink"><label class="md-icon md-icon--menu md-header-nav__button" for="__drawer"></label></div><div class="md-flex__cell md-flex__cell--stretch"><div class="md-flex__ellipsis md-header-nav__title" data-md-component="title">{%- if config.site_name == page.title -%} {{ config.site_name }} {%- else -%} <span class="md-header-nav__topic">{{- config.site_name -}} </span><span class="md-header-nav__topic">{%- if page and page.meta and page.meta.title -%} {{- page.meta.title -}} {%- else -%} {{- page.title -}} {%- endif -%} </span>{%- endif -%}</div></div><div class="md-flex__cell md-flex__cell--shrink">{%- if "search" in config["plugins"] -%} <label class="md-icon md-icon--search md-header-nav__button" for="__search"></label> {%- include "partials/search.html" -%} {%- endif -%}</div>{%- if config.repo_url -%}<div class="md-flex__cell md-flex__cell--shrink"><div class="md-header-nav__source">{%- include "partials/source.html" -%}</div></div>{%- endif -%}</div></nav></header> <header class="md-header" data-md-component="header">
<nav class="md-header-nav md-grid">
<div class="md-flex">
<div class="md-flex__cell md-flex__cell--shrink">
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" title="{{ config.site_name }}" class="md-header-nav__button md-logo">
{% if config.theme.logo.icon %}
<i class="md-icon">{{- config.theme.logo.icon -}}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="24" height="24">
{% endif %}
</a>
</div>
<div class="md-flex__cell md-flex__cell--shrink">
<label class="md-icon md-icon--menu md-header-nav__button" for="__drawer"></label>
</div>
<div class="md-flex__cell md-flex__cell--stretch">
<div class="md-flex__ellipsis md-header-nav__title" data-md-component="title">
{% if config.site_name == page.title %}
{{ config.site_name }}
{% else %}
<span class="md-header-nav__topic">
{{- config.site_name -}}
</span>
<span class="md-header-nav__topic">
{% if page and page.meta and page.meta.title %}
{{- page.meta.title -}}
{% else %}
{{- page.title -}}
{% endif %}
</span>
{% endif %}
</div>
</div>
<div class="md-flex__cell md-flex__cell--shrink">
{% if "search" in config["plugins"] %}
<label class="md-icon md-icon--search md-header-nav__button" for="__search"></label>
{% include "partials/search.html" %}
{% endif %}
</div>
{% if config.repo_url %}
<div class="md-flex__cell md-flex__cell--shrink">
<div class="md-header-nav__source">
{% include "partials/source.html" %}
</div>
</div>
{% endif %}
</div>
</nav>
</header>

View File

@ -1,4 +1,13 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- set feature = config.theme.feature -%} {%- set class = "md-hero" -%} {%- if not feature.tabs -%} {%- set class = "md-hero md-hero--expand" -%} {%- endif -%}<div class="{{ class }}" data-md-component="hero"><div class="md-hero__inner md-grid">{{- page.meta.hero -}}</div></div> {% set feature = config.theme.feature %}
{% set class = "md-hero" %}
{% if not feature.tabs %}
{% set class = "md-hero md-hero--expand" %}
{% endif %}
<div class="{{ class }}" data-md-component="hero">
<div class="md-hero__inner md-grid">
{{- page.meta.hero -}}
</div>
</div>

View File

@ -1,7 +1,9 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- set analytics = config.google_analytics -%}<script>window.ga = window.ga || function() { {% set analytics = config.google_analytics %}
<script>
window.ga = window.ga || function() {
(ga.q = ga.q || []).push(arguments) (ga.q = ga.q || []).push(arguments)
} }
ga.l = +new Date ga.l = +new Date
@ -20,4 +22,6 @@
} }
}) })
} }
})</script><script async src="https://www.google-analytics.com/analytics.js"></script> })
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>

View File

@ -1,7 +1,15 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- set disqus = config.extra.disqus -%} {%- if page and page.meta and page.meta.disqus is string -%} {%- set disqus = page.meta.disqus -%} {%- endif -%} {%- if not page.is_homepage and disqus -%}<h2 id="__comments">{{ lang.t("meta.comments") }}</h2><div id="disqus_thread"></div><script>var disqus_config = function () { {% set disqus = config.extra.disqus %}
{% if page and page.meta and page.meta.disqus is string %}
{% set disqus = page.meta.disqus %}
{% endif %}
{% if not page.is_homepage and disqus %}
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "{{ page.canonical_url }}"; this.page.url = "{{ page.canonical_url }}";
this.page.identifier = this.page.identifier =
"{{ page.canonical_url | replace(config.site_url, "") }}"; "{{ page.canonical_url | replace(config.site_url, "") }}";
@ -11,4 +19,6 @@
s.src = "//{{ disqus }}.disqus.com/embed.js"; s.src = "//{{ disqus }}.disqus.com/embed.js";
s.setAttribute("data-timestamp", +new Date()); s.setAttribute("data-timestamp", +new Date());
(d.head || d.body).appendChild(s); (d.head || d.body).appendChild(s);
})();</script>{%- endif -%} })();
</script>
{% endif %}

View File

@ -1,4 +1,14 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% import "partials/language/" + config.theme.language + ".html" as lang %} {% import "partials/language/en.html" as fallback %} {% macro t(key) -%}{{ { "direction": config.theme.direction, "search.language": ( config.extra.search | default({}) ).language, "search.tokenizer": ( config.extra.search | default({}) ).tokenizer | default("", true), }[key] or lang.t(key) or fallback.t(key) }}{% endmacro %} {% import "partials/language/" + config.theme.language + ".html" as lang %}
{% import "partials/language/en.html" as fallback %}
{% macro t(key) %}{{ {
"direction": config.theme.direction,
"search.language": (
config.extra.search | default({})
).language,
"search.tokenizer": (
config.extra.search | default({})
).tokenizer | default("", true),
}[key] or lang.t(key) or fallback.t(key) }}{% endmacro %}

View File

@ -1,4 +1,25 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "ar", "direction": "rtl", "clipboard.copy": "نسخ إلى الحافظة", "clipboard.copied": "تم النسخ الى الحافظة", "edit.link.title": "عدل الصفحة", "footer.previous": "السابقة", "footer.next": "التالية", "meta.comments": "التعليقات", "meta.source": "المصدر", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "بحث", "search.result.placeholder": "اكتب لبدء البحث", "search.result.none": "لا توجد نتائج", "search.result.one": "نتائج البحث مستند واحد", "search.result.other": "نتائج البحث # مستندات", "skip.link.title": "انتقل إلى المحتوى", "source.link.title": "اذهب إلى المصدر", "toc.title": "جدول المحتويات" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "ar",
"direction": "rtl",
"clipboard.copy": "نسخ إلى الحافظة",
"clipboard.copied": "تم النسخ الى الحافظة",
"edit.link.title": "عدل الصفحة",
"footer.previous": "السابقة",
"footer.next": "التالية",
"meta.comments": "التعليقات",
"meta.source": "المصدر",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "بحث",
"search.result.placeholder": "اكتب لبدء البحث",
"search.result.none": "لا توجد نتائج",
"search.result.one": "نتائج البحث مستند واحد",
"search.result.other": "نتائج البحث # مستندات",
"skip.link.title": "انتقل إلى المحتوى",
"source.link.title": "اذهب إلى المصدر",
"toc.title": "جدول المحتويات"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "ca", "clipboard.copy": "Còpia al porta-retalls", "clipboard.copied": "Copiat al porta-retalls", "edit.link.title": "Edita aquesta pàgina", "footer.previous": "Anterior", "footer.next": "Següent", "meta.comments": "Comentaris", "meta.source": "Codi font", "search.language": "", "search.placeholder": "Cerca", "search.result.placeholder": "Escriu per a començar a cercar", "search.result.none": "Cap document coincideix", "search.result.one": "1 document coincident", "search.result.other": "# documents coincidents", "skip.link.title": "Salta el contingut", "source.link.title": "Ves al repositori", "toc.title": "Taula de continguts" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "ca",
"clipboard.copy": "Còpia al porta-retalls",
"clipboard.copied": "Copiat al porta-retalls",
"edit.link.title": "Edita aquesta pàgina",
"footer.previous": "Anterior",
"footer.next": "Següent",
"meta.comments": "Comentaris",
"meta.source": "Codi font",
"search.language": "",
"search.placeholder": "Cerca",
"search.result.placeholder": "Escriu per a començar a cercar",
"search.result.none": "Cap document coincideix",
"search.result.one": "1 document coincident",
"search.result.other": "# documents coincidents",
"skip.link.title": "Salta el contingut",
"source.link.title": "Ves al repositori",
"toc.title": "Taula de continguts"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "cs", "clipboard.copy": "Kopírovat do schránky", "clipboard.copied": "Zkopírováno do schránky", "edit.link.title": "Upravit tuto stránku", "footer.previous": "Předchozí", "footer.next": "Další", "meta.comments": "Komentáře", "meta.source": "Zdroj", "search.language": "ro", "search.placeholder": "Hledat", "search.result.placeholder": "Pište co se má vyhledat", "search.result.none": "Nenalezeny žádné dokumenty", "search.result.one": "Nalezený dokument: 1", "search.result.other": "Nalezené dokumenty: #", "skip.link.title": "Přeskočit obsah", "source.link.title": "Přejít do repozitáře", "toc.title": "Obsah" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "cs",
"clipboard.copy": "Kopírovat do schránky",
"clipboard.copied": "Zkopírováno do schránky",
"edit.link.title": "Upravit tuto stránku",
"footer.previous": "Předchozí",
"footer.next": "Další",
"meta.comments": "Komentáře",
"meta.source": "Zdroj",
"search.language": "ro",
"search.placeholder": "Hledat",
"search.result.placeholder": "Pište co se má vyhledat",
"search.result.none": "Nenalezeny žádné dokumenty",
"search.result.one": "Nalezený dokument: 1",
"search.result.other": "Nalezené dokumenty: #",
"skip.link.title": "Přeskočit obsah",
"source.link.title": "Přejít do repozitáře",
"toc.title": "Obsah"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "da", "clipboard.copy": "Kopiér til udklipsholderen", "clipboard.copied": "Kopieret til udklipsholderen", "edit.link.title": "Redigér denne side", "footer.previous": "Forrige", "footer.next": "Næste", "meta.comments": "Kommentarer", "meta.source": "Kilde", "search.language": "da", "search.placeholder": "Søg", "search.result.placeholder": "Indtast søgeord", "search.result.none": "Ingen resultater fundet", "search.result.one": "1 resultat", "search.result.other": "# resultater", "skip.link.title": "Gå til indholdet", "source.link.title": "Åbn arkiv", "toc.title": "Indholdsfortegnelse" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "da",
"clipboard.copy": "Kopiér til udklipsholderen",
"clipboard.copied": "Kopieret til udklipsholderen",
"edit.link.title": "Redigér denne side",
"footer.previous": "Forrige",
"footer.next": "Næste",
"meta.comments": "Kommentarer",
"meta.source": "Kilde",
"search.language": "da",
"search.placeholder": "Søg",
"search.result.placeholder": "Indtast søgeord",
"search.result.none": "Ingen resultater fundet",
"search.result.one": "1 resultat",
"search.result.other": "# resultater",
"skip.link.title": "Gå til indholdet",
"source.link.title": "Åbn arkiv",
"toc.title": "Indholdsfortegnelse"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "de", "clipboard.copy": "In Zwischenablage kopieren", "clipboard.copied": "In Zwischenablage kopiert", "edit.link.title": "Seite editieren", "footer.previous": "Zurück", "footer.next": "Weiter", "meta.comments": "Kommentare", "meta.source": "Quellcode", "search.language": "de", "search.placeholder": "Suche", "search.result.placeholder": "Suchbegriff eingeben", "search.result.none": "Keine Suchergebnisse", "search.result.one": "1 Suchergebnis", "search.result.other": "# Suchergebnisse", "skip.link.title": "Zum Inhalt", "source.link.title": "Quellcode", "toc.title": "Inhaltsverzeichnis" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "de",
"clipboard.copy": "In Zwischenablage kopieren",
"clipboard.copied": "In Zwischenablage kopiert",
"edit.link.title": "Seite editieren",
"footer.previous": "Zurück",
"footer.next": "Weiter",
"meta.comments": "Kommentare",
"meta.source": "Quellcode",
"search.language": "de",
"search.placeholder": "Suche",
"search.result.placeholder": "Suchbegriff eingeben",
"search.result.none": "Keine Suchergebnisse",
"search.result.one": "1 Suchergebnis",
"search.result.other": "# Suchergebnisse",
"skip.link.title": "Zum Inhalt",
"source.link.title": "Quellcode",
"toc.title": "Inhaltsverzeichnis"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,26 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "en", "direction": "ltr", "clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "edit.link.title": "Edit this page", "footer.previous": "Previous", "footer.next": "Next", "meta.comments": "Comments", "meta.source": "Source", "search.language": "en", "search.pipeline.stopwords": true, "search.pipeline.trimmer": true, "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.tokenizer": "[\s\-]+", "skip.link.title": "Skip to content", "source.link.title": "Go to repository", "toc.title": "Table of contents" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "en",
"direction": "ltr",
"clipboard.copy": "Copy to clipboard",
"clipboard.copied": "Copied to clipboard",
"edit.link.title": "Edit this page",
"footer.previous": "Previous",
"footer.next": "Next",
"meta.comments": "Comments",
"meta.source": "Source",
"search.language": "en",
"search.pipeline.stopwords": true,
"search.pipeline.trimmer": true,
"search.placeholder": "Search",
"search.result.placeholder": "Type to start searching",
"search.result.none": "No matching documents",
"search.result.one": "1 matching document",
"search.result.other": "# matching documents",
"search.tokenizer": "[\s\-]+",
"skip.link.title": "Skip to content",
"source.link.title": "Go to repository",
"toc.title": "Table of contents"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "es", "clipboard.copy": "Copiar al portapapeles", "clipboard.copied": "Copiado al portapapeles", "edit.link.title": "Editar esta página", "footer.previous": "Anterior", "footer.next": "Siguiente", "meta.comments": "Comentarios", "meta.source": "Fuente", "search.language": "es", "search.placeholder": "Búsqueda", "search.result.placeholder": "Teclee para comenzar búsqueda", "search.result.none": "No se encontraron documentos", "search.result.one": "1 documento encontrado", "search.result.other": "# documentos encontrados", "skip.link.title": "Saltar a contenido", "source.link.title": "Ir al repositorio", "toc.title": "Tabla de contenidos" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "es",
"clipboard.copy": "Copiar al portapapeles",
"clipboard.copied": "Copiado al portapapeles",
"edit.link.title": "Editar esta página",
"footer.previous": "Anterior",
"footer.next": "Siguiente",
"meta.comments": "Comentarios",
"meta.source": "Fuente",
"search.language": "es",
"search.placeholder": "Búsqueda",
"search.result.placeholder": "Teclee para comenzar búsqueda",
"search.result.none": "No se encontraron documentos",
"search.result.one": "1 documento encontrado",
"search.result.other": "# documentos encontrados",
"skip.link.title": "Saltar a contenido",
"source.link.title": "Ir al repositorio",
"toc.title": "Tabla de contenidos"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,25 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "fa", "direction": "rtl", "clipboard.copy": "کپی کردن", "clipboard.copied": "کپی شد", "edit.link.title": "این صفحه را ویرایش کنید", "footer.previous": "قبلی", "footer.next": "بعدی", "meta.comments": "نظرات", "meta.source": "منبع", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "جستجو", "search.result.placeholder": "برای شروع جستجو تایپ کنید", "search.result.none": "سندی یافت نشد", "search.result.one": "1 سند یافت شد", "search.result.other": "# سند یافت شد", "skip.link.title": "پرش به محتویات", "source.link.title": "رفتن به مخزن", "toc.title": "فهرست موضوعات" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "fa",
"direction": "rtl",
"clipboard.copy": "کپی کردن",
"clipboard.copied": "کپی شد",
"edit.link.title": "این صفحه را ویرایش کنید",
"footer.previous": "قبلی",
"footer.next": "بعدی",
"meta.comments": "نظرات",
"meta.source": "منبع",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "جستجو",
"search.result.placeholder": "برای شروع جستجو تایپ کنید",
"search.result.none": "سندی یافت نشد",
"search.result.one": "1 سند یافت شد",
"search.result.other": "# سند یافت شد",
"skip.link.title": "پرش به محتویات",
"source.link.title": "رفتن به مخزن",
"toc.title": "فهرست موضوعات"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "fi", "clipboard.copy": "Kopioi leikepöydälle", "clipboard.copied": "Kopioitu leikepöydälle", "edit.link.title": "Muokkaa tätä sivua", "footer.previous": "Edellinen", "footer.next": "Seuraava", "meta.comments": "Kommentit", "meta.source": "Lähdekodi", "search.language": "fi", "search.placeholder": "Hae", "search.result.placeholder": "Kirjoita aloittaaksesi haun", "search.result.none": "Ei täsmääviä dokumentteja", "search.result.one": "1 täsmäävä dokumentti", "search.result.other": "# täsmäävää dokumenttia", "skip.link.title": "Hyppää sisältöön", "source.link.title": "Mene repositoryyn", "toc.title": "Sisällysluettelo" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "fi",
"clipboard.copy": "Kopioi leikepöydälle",
"clipboard.copied": "Kopioitu leikepöydälle",
"edit.link.title": "Muokkaa tätä sivua",
"footer.previous": "Edellinen",
"footer.next": "Seuraava",
"meta.comments": "Kommentit",
"meta.source": "Lähdekodi",
"search.language": "fi",
"search.placeholder": "Hae",
"search.result.placeholder": "Kirjoita aloittaaksesi haun",
"search.result.none": "Ei täsmääviä dokumentteja",
"search.result.one": "1 täsmäävä dokumentti",
"search.result.other": "# täsmäävää dokumenttia",
"skip.link.title": "Hyppää sisältöön",
"source.link.title": "Mene repositoryyn",
"toc.title": "Sisällysluettelo"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,21 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "fr", "clipboard.copy": "Copier dans le presse-papier", "clipboard.copied": "Copié dans le presse-papier", "edit.link.title": "Editer cette page", "footer.previous": "Précédent", "footer.next": "Suivant", "meta.comments": "Commentaires", "meta.source": "Source", "search.language": "fr", "search.placeholder": "Rechercher", "search.result.placeholder": "Taper pour démarrer la recherche", "search.result.none": "Aucun document trouvé", "search.result.one": "1 document trouvé", "search.result.other": "# documents trouvés", "source.link.title": "Aller au dépôt", "toc.title": "Table des matières" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "fr",
"clipboard.copy": "Copier dans le presse-papier",
"clipboard.copied": "Copié dans le presse-papier",
"edit.link.title": "Editer cette page",
"footer.previous": "Précédent",
"footer.next": "Suivant",
"meta.comments": "Commentaires",
"meta.source": "Source",
"search.language": "fr",
"search.placeholder": "Rechercher",
"search.result.placeholder": "Taper pour démarrer la recherche",
"search.result.none": "Aucun document trouvé",
"search.result.one": "1 document trouvé",
"search.result.other": "# documents trouvés",
"source.link.title": "Aller au dépôt",
"toc.title": "Table des matières"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "gl", "clipboard.copy": "Copiar no cortapapeis", "clipboard.copied": "Copiado no cortapapeis", "edit.link.title": "Editar esta páxina", "footer.previous": "Anterior", "footer.next": "Seguinte", "meta.comments": "Comentarios", "meta.source": "Fonte", "search.language": "es", "search.placeholder": "Busca", "search.result.placeholder": "Insira un termo", "search.result.none": "Sen resultados", "search.result.one": "1 resultado atopado", "search.result.other": "# resultados atopados", "skip.link.title": "Ir ao contido", "source.link.title": "Ir ao repositorio", "toc.title": "Táboa de contidos" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "gl",
"clipboard.copy": "Copiar no cortapapeis",
"clipboard.copied": "Copiado no cortapapeis",
"edit.link.title": "Editar esta páxina",
"footer.previous": "Anterior",
"footer.next": "Seguinte",
"meta.comments": "Comentarios",
"meta.source": "Fonte",
"search.language": "es",
"search.placeholder": "Busca",
"search.result.placeholder": "Insira un termo",
"search.result.none": "Sen resultados",
"search.result.one": "1 resultado atopado",
"search.result.other": "# resultados atopados",
"skip.link.title": "Ir ao contido",
"source.link.title": "Ir ao repositorio",
"toc.title": "Táboa de contidos"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,24 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "gr", "clipboard.copy": "Αντιγραφή", "clipboard.copied": "Αντιγράφηκε", "edit.link.title": "Επεξεργασία αυτής της σελίδας", "footer.previous": "Επόμενη", "footer.next": "Προηγούμενη", "meta.comments": "Σχόλια", "meta.source": "Πηγή", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "Αναζήτηση", "search.result.placeholder": "Πληκτρολογήστε για να αρχίσει η αναζήτηση", "search.result.none": "Δε βρέθηκαν αντίστοιχα αρχεία", "search.result.one": "1 αντίστοιχο αρχείο", "search.result.other": "# αντίστοιχα αρχεία", "skip.link.title": "Μετάβαση στο περιεχόμενο", "source.link.title": "Μετάβαση στο αποθετήριο", "toc.title": "Πίνακας περιεχομένων" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "gr",
"clipboard.copy": "Αντιγραφή",
"clipboard.copied": "Αντιγράφηκε",
"edit.link.title": "Επεξεργασία αυτής της σελίδας",
"footer.previous": "Επόμενη",
"footer.next": "Προηγούμενη",
"meta.comments": "Σχόλια",
"meta.source": "Πηγή",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "Αναζήτηση",
"search.result.placeholder": "Πληκτρολογήστε για να αρχίσει η αναζήτηση",
"search.result.none": "Δε βρέθηκαν αντίστοιχα αρχεία",
"search.result.one": "1 αντίστοιχο αρχείο",
"search.result.other": "# αντίστοιχα αρχεία",
"skip.link.title": "Μετάβαση στο περιεχόμενο",
"source.link.title": "Μετάβαση στο αποθετήριο",
"toc.title": "Πίνακας περιεχομένων"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,25 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "he", "direction": "rtl", "clipboard.copy": "העתק ללוח", "clipboard.copied": "הועתק ללוח", "edit.link.title": "ערוך דף זה", "footer.previous": "קודם", "footer.next": "הַבָּא", "meta.comments": "הערות", "meta.source": "מָקוֹר", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "לחפש", "search.result.placeholder": "הקלד כדי להתחיל לחפש", "search.result.none": "אין מסמכים תואמים", "search.result.one": "1 מסמך תואם", "search.result.other": "# מסמך תואם", "skip.link.title": "דלג לתוכן", "source.link.title": "עבור אל מאגר", "toc.title": "תוכן העניינים" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "he",
"direction": "rtl",
"clipboard.copy": "העתק ללוח",
"clipboard.copied": "הועתק ללוח",
"edit.link.title": "ערוך דף זה",
"footer.previous": "קודם",
"footer.next": "הַבָּא",
"meta.comments": "הערות",
"meta.source": "מָקוֹר",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "לחפש",
"search.result.placeholder": "הקלד כדי להתחיל לחפש",
"search.result.none": "אין מסמכים תואמים",
"search.result.one": "1 מסמך תואם",
"search.result.other": "# מסמך תואם",
"skip.link.title": "דלג לתוכן",
"source.link.title": "עבור אל מאגר",
"toc.title": "תוכן העניינים"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,24 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "hi", "clipboard.copy": "क्लिपबोर्ड पर कॉपी करें", "clipboard.copied": "क्लिपबोर्ड पर कॉपी कर दिया गया", "edit.link.title": "इस पृष्ठ को संपादित करें", "footer.previous": "पिछला", "footer.next": "आगामी", "meta.comments": "टिप्पणियाँ", "meta.source": "स्रोत", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "खोज", "search.result.placeholder": "खोज शुरू करने के लिए टाइप करें", "search.result.none": "कोई मिलान डॉक्यूमेंट नहीं", "search.result.one": "1 मिलान डॉक्यूमेंट", "search.result.other": "# मिलान डाक्यूमेंट्स", "skip.link.title": "विषय पर बढ़ें", "source.link.title": "रिपॉजिटरी पर जाएं", "toc.title": "विषय - सूची" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "hi",
"clipboard.copy": "क्लिपबोर्ड पर कॉपी करें",
"clipboard.copied": "क्लिपबोर्ड पर कॉपी कर दिया गया",
"edit.link.title": "इस पृष्ठ को संपादित करें",
"footer.previous": "पिछला",
"footer.next": "आगामी",
"meta.comments": "टिप्पणियाँ",
"meta.source": "स्रोत",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "खोज",
"search.result.placeholder": "खोज शुरू करने के लिए टाइप करें",
"search.result.none": "कोई मिलान डॉक्यूमेंट नहीं",
"search.result.one": "1 मिलान डॉक्यूमेंट",
"search.result.other": "# मिलान डाक्यूमेंट्स",
"skip.link.title": "विषय पर बढ़ें",
"source.link.title": "रिपॉजिटरी पर जाएं",
"toc.title": "विषय - सूची"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,24 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "hr", "clipboard.copy": "Kopirajte u međuspremnik", "clipboard.copied": "Kopirano u međuspremnik", "edit.link.title": "Uredi stranicu", "footer.previous": "Prethodno", "footer.next": "Sljedeće", "meta.comments": "Komentari", "meta.source": "Izvor", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "Pretraživanje", "search.result.placeholder": "Unesite pojam pretraživanja", "search.result.none": "Ništa nije pronađeno", "search.result.one": "1 rezultat pretraživanja", "search.result.other": "# rezultata pretraživanja", "skip.link.title": "Preskočite na sadržaj", "source.link.title": "Idite u repozitorij", "toc.title": "Sadržaj" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "hr",
"clipboard.copy": "Kopirajte u međuspremnik",
"clipboard.copied": "Kopirano u međuspremnik",
"edit.link.title": "Uredi stranicu",
"footer.previous": "Prethodno",
"footer.next": "Sljedeće",
"meta.comments": "Komentari",
"meta.source": "Izvor",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "Pretraživanje",
"search.result.placeholder": "Unesite pojam pretraživanja",
"search.result.none": "Ništa nije pronađeno",
"search.result.one": "1 rezultat pretraživanja",
"search.result.other": "# rezultata pretraživanja",
"skip.link.title": "Preskočite na sadržaj",
"source.link.title": "Idite u repozitorij",
"toc.title": "Sadržaj"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "hu", "clipboard.copy": "Másolás vágólapra", "clipboard.copied": "Vágólapra másolva", "edit.link.title": "Oldal szerkesztése", "footer.previous": "Előző", "footer.next": "Következő", "meta.comments": "Hozzászólások", "meta.source": "Forrás", "search.language": "hu", "search.placeholder": "Keresés", "search.result.placeholder": "Kereséshez írj ide valamit", "search.result.none": "Nincs találat", "search.result.one": "1 egyező dokumentum", "search.result.other": "# egyező dokumentum", "skip.link.title": "Kihagyás", "source.link.title": "Főoldalra ugrás", "toc.title": "Tartalomjegyzék" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "hu",
"clipboard.copy": "Másolás vágólapra",
"clipboard.copied": "Vágólapra másolva",
"edit.link.title": "Oldal szerkesztése",
"footer.previous": "Előző",
"footer.next": "Következő",
"meta.comments": "Hozzászólások",
"meta.source": "Forrás",
"search.language": "hu",
"search.placeholder": "Keresés",
"search.result.placeholder": "Kereséshez írj ide valamit",
"search.result.none": "Nincs találat",
"search.result.one": "1 egyező dokumentum",
"search.result.other": "# egyező dokumentum",
"skip.link.title": "Kihagyás",
"source.link.title": "Főoldalra ugrás",
"toc.title": "Tartalomjegyzék"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,24 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "id", "clipboard.copy": "Salin ke memori", "clipboard.copied": "Tersalin ke memori", "edit.link.title": "Ubah halaman ini", "footer.previous": "Sebelumnya", "footer.next": "Selanjutnya", "meta.comments": "Komentar", "meta.source": "Sumber", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "Cari", "search.result.placeholder": "Ketik untuk mulai pencarian", "search.result.none": "Tidak ada dokumen yang sesuai", "search.result.one": "1 dokumen ditemukan", "search.result.other": "# dokumen ditemukan", "skip.link.title": "Lewati ke isi", "source.link.title": "Menuju repositori", "toc.title": "Daftar isi" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "id",
"clipboard.copy": "Salin ke memori",
"clipboard.copied": "Tersalin ke memori",
"edit.link.title": "Ubah halaman ini",
"footer.previous": "Sebelumnya",
"footer.next": "Selanjutnya",
"meta.comments": "Komentar",
"meta.source": "Sumber",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "Cari",
"search.result.placeholder": "Ketik untuk mulai pencarian",
"search.result.none": "Tidak ada dokumen yang sesuai",
"search.result.one": "1 dokumen ditemukan",
"search.result.other": "# dokumen ditemukan",
"skip.link.title": "Lewati ke isi",
"source.link.title": "Menuju repositori",
"toc.title": "Daftar isi"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "it", "clipboard.copy": "Copia", "clipboard.copied": "Copiato", "edit.link.title": "Modifica", "footer.previous": "Precedente", "footer.next": "Prossimo", "meta.comments": "Commenti", "meta.source": "Sorgente", "search.language": "it", "search.placeholder": "Cerca", "search.result.placeholder": "Scrivi per iniziare a cercare", "search.result.none": "Nessun documento trovato", "search.result.one": "1 documento trovato", "search.result.other": "# documenti trovati", "skip.link.title": "Vai al contenuto", "source.link.title": "Apri repository", "toc.title": "Indice" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "it",
"clipboard.copy": "Copia",
"clipboard.copied": "Copiato",
"edit.link.title": "Modifica",
"footer.previous": "Precedente",
"footer.next": "Prossimo",
"meta.comments": "Commenti",
"meta.source": "Sorgente",
"search.language": "it",
"search.placeholder": "Cerca",
"search.result.placeholder": "Scrivi per iniziare a cercare",
"search.result.none": "Nessun documento trovato",
"search.result.one": "1 documento trovato",
"search.result.other": "# documenti trovati",
"skip.link.title": "Vai al contenuto",
"source.link.title": "Apri repository",
"toc.title": "Indice"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "ja", "clipboard.copy": "クリップボードへコピー", "clipboard.copied": "コピーしました", "edit.link.title": "編集", "footer.previous": "前", "footer.next": "次", "meta.comments": "コメント", "meta.source": "ソース", "search.language": "ja", "search.placeholder": "検索", "search.result.placeholder": "検索キーワードを入力してください", "search.result.none": "何も見つかりませんでした", "search.result.one": "1件見つかりました", "search.result.other": "#件見つかりました", "search.tokenizer": "[\s\- 、。,.]+", "source.link.title": "リポジトリへ", "toc.title": "目次" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "ja",
"clipboard.copy": "クリップボードへコピー",
"clipboard.copied": "コピーしました",
"edit.link.title": "編集",
"footer.previous": "前",
"footer.next": "次",
"meta.comments": "コメント",
"meta.source": "ソース",
"search.language": "ja",
"search.placeholder": "検索",
"search.result.placeholder": "検索キーワードを入力してください",
"search.result.none": "何も見つかりませんでした",
"search.result.one": "1件見つかりました",
"search.result.other": "#件見つかりました",
"search.tokenizer": "[\s\- 、。,.]+",
"source.link.title": "リポジトリへ",
"toc.title": "目次"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,21 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "kr", "clipboard.copy": "클립보드로 복사", "clipboard.copied": "클립보드에 복사됨", "edit.link.title": "이 페이지를 편집", "footer.previous": "이전", "footer.next": "다음", "meta.comments": "댓글", "meta.source": "출처", "search.language": "ja", "search.placeholder": "검색", "search.result.placeholder": "검색어를 입력하세요", "search.result.none": "검색어와 일치하는 문서가 없습니다", "search.result.one": "1개의 일치하는 문서", "search.result.other": "#개의 일치하는 문서", "source.link.title": "저장소로 이동", "toc.title": "목차" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "kr",
"clipboard.copy": "클립보드로 복사",
"clipboard.copied": "클립보드에 복사됨",
"edit.link.title": "이 페이지를 편집",
"footer.previous": "이전",
"footer.next": "다음",
"meta.comments": "댓글",
"meta.source": "출처",
"search.language": "ja",
"search.placeholder": "검색",
"search.result.placeholder": "검색어를 입력하세요",
"search.result.none": "검색어와 일치하는 문서가 없습니다",
"search.result.one": "1개의 일치하는 문서",
"search.result.other": "#개의 일치하는 문서",
"source.link.title": "저장소로 이동",
"toc.title": "목차"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "nl", "clipboard.copy": "Kopiëren naar klembord", "clipboard.copied": "Gekopieerd naar klembord", "edit.link.title": "Wijzig deze pagina", "footer.previous": "Vorige", "footer.next": "Volgende", "meta.comments": "Reacties", "meta.source": "Bron", "search.language": "nl", "search.placeholder": "Zoeken", "search.result.placeholder": "Typ om te beginnen met zoeken", "search.result.none": "Geen overeenkomende documenten", "search.result.one": "1 overeenkomende document", "search.result.other": "# overeenkomende documenten", "skip.link.title": "Ga naar inhoud", "source.link.title": "Ga naar repository", "toc.title": "Inhoudsopgave" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "nl",
"clipboard.copy": "Kopiëren naar klembord",
"clipboard.copied": "Gekopieerd naar klembord",
"edit.link.title": "Wijzig deze pagina",
"footer.previous": "Vorige",
"footer.next": "Volgende",
"meta.comments": "Reacties",
"meta.source": "Bron",
"search.language": "nl",
"search.placeholder": "Zoeken",
"search.result.placeholder": "Typ om te beginnen met zoeken",
"search.result.none": "Geen overeenkomende documenten",
"search.result.one": "1 overeenkomende document",
"search.result.other": "# overeenkomende documenten",
"skip.link.title": "Ga naar inhoud",
"source.link.title": "Ga naar repository",
"toc.title": "Inhoudsopgave"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "nn", "clipboard.copy": "Kopier til utklippstavla", "clipboard.copied": "Kopiert til utklippstavla", "edit.link.title": "Rediger denne sida", "footer.previous": "Førre", "footer.next": "Neste", "meta.comments": "Kommentarar", "meta.source": "Kjelde", "search.language": "no", "search.placeholder": "Søk", "search.result.placeholder": "Skriv søkeord", "search.result.none": "Ingen treff", "search.result.one": "1 treff", "search.result.other": "# treff", "skip.link.title": "Gå til innhald", "source.link.title": "Gå til kjelde", "toc.title": "Innhaldsliste" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "nn",
"clipboard.copy": "Kopier til utklippstavla",
"clipboard.copied": "Kopiert til utklippstavla",
"edit.link.title": "Rediger denne sida",
"footer.previous": "Førre",
"footer.next": "Neste",
"meta.comments": "Kommentarar",
"meta.source": "Kjelde",
"search.language": "no",
"search.placeholder": "Søk",
"search.result.placeholder": "Skriv søkeord",
"search.result.none": "Ingen treff",
"search.result.one": "1 treff",
"search.result.other": "# treff",
"skip.link.title": "Gå til innhald",
"source.link.title": "Gå til kjelde",
"toc.title": "Innhaldsliste"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "no", "clipboard.copy": "Kopier til utklippstavlen", "clipboard.copied": "Kopiert til utklippstavlen", "edit.link.title": "Rediger denne siden", "footer.previous": "Forrige", "footer.next": "Neste", "meta.comments": "Kommentarer", "meta.source": "Kilde", "search.language": "no", "search.placeholder": "Søk", "search.result.placeholder": "Skriv søkeord", "search.result.none": "Ingen treff", "search.result.one": "1 treff", "search.result.other": "# treff", "skip.link.title": "Gå til innhold", "source.link.title": "Gå til kilde", "toc.title": "Innholdsfortegnelse" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "no",
"clipboard.copy": "Kopier til utklippstavlen",
"clipboard.copied": "Kopiert til utklippstavlen",
"edit.link.title": "Rediger denne siden",
"footer.previous": "Forrige",
"footer.next": "Neste",
"meta.comments": "Kommentarer",
"meta.source": "Kilde",
"search.language": "no",
"search.placeholder": "Søk",
"search.result.placeholder": "Skriv søkeord",
"search.result.none": "Ingen treff",
"search.result.one": "1 treff",
"search.result.other": "# treff",
"skip.link.title": "Gå til innhold",
"source.link.title": "Gå til kilde",
"toc.title": "Innholdsfortegnelse"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,24 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "pl", "clipboard.copy": "Kopiuj do schowka", "clipboard.copied": "Skopiowane", "edit.link.title": "Edytuj tę stronę", "footer.previous": "Poprzednia strona", "footer.next": "Następna strona", "meta.comments": "Komentarze", "meta.source": "Kod źródłowy", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "Szukaj", "search.result.placeholder": "Zacznij pisać, aby szukać", "search.result.none": "Brak wyników wyszukiwania", "search.result.one": "Wyniki wyszukiwania: 1", "search.result.other": "Wyniki wyszukiwania: #", "skip.link.title": "Przejdź do treści", "source.link.title": "Idź do repozytorium", "toc.title": "Spis treści" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "pl",
"clipboard.copy": "Kopiuj do schowka",
"clipboard.copied": "Skopiowane",
"edit.link.title": "Edytuj tę stronę",
"footer.previous": "Poprzednia strona",
"footer.next": "Następna strona",
"meta.comments": "Komentarze",
"meta.source": "Kod źródłowy",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "Szukaj",
"search.result.placeholder": "Zacznij pisać, aby szukać",
"search.result.none": "Brak wyników wyszukiwania",
"search.result.one": "Wyniki wyszukiwania: 1",
"search.result.other": "Wyniki wyszukiwania: #",
"skip.link.title": "Przejdź do treści",
"source.link.title": "Idź do repozytorium",
"toc.title": "Spis treści"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "pt", "clipboard.copy": "Copiar para área de transferência", "clipboard.copied": "Copiado para área de transferência", "edit.link.title": "Editar esta página", "footer.previous": "Anterior", "footer.next": "Próximo", "meta.comments": "Comentários", "meta.source": "Fonte", "search.language": "pt", "search.placeholder": "Buscar", "search.result.placeholder": "Digite para iniciar a busca", "search.result.none": "Nenhum resultado encontrado", "search.result.one": "1 resultado encontrado", "search.result.other": "# resultados encontrados", "skip.link.title": "Ir para o conteúdo", "source.link.title": "Ir ao repositório", "toc.title": "Índice" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "pt",
"clipboard.copy": "Copiar para área de transferência",
"clipboard.copied": "Copiado para área de transferência",
"edit.link.title": "Editar esta página",
"footer.previous": "Anterior",
"footer.next": "Próximo",
"meta.comments": "Comentários",
"meta.source": "Fonte",
"search.language": "pt",
"search.placeholder": "Buscar",
"search.result.placeholder": "Digite para iniciar a busca",
"search.result.none": "Nenhum resultado encontrado",
"search.result.one": "1 resultado encontrado",
"search.result.other": "# resultados encontrados",
"skip.link.title": "Ir para o conteúdo",
"source.link.title": "Ir ao repositório",
"toc.title": "Índice"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "ru", "clipboard.copy": "Копировать в буфер", "clipboard.copied": "Скопировано в буфер", "edit.link.title": "Редактировать страницу", "footer.previous": "Назад", "footer.next": "Вперед", "meta.comments": "Комментарии", "meta.source": "Исходный код", "search.language": "ru", "search.placeholder": "Поиск", "search.result.placeholder": "Начните печатать для поиска", "search.result.none": "Совпадений не найдено", "search.result.one": "Найдено 1 совпадение", "search.result.other": "Найдено # совпадений", "skip.link.title": "Перейти к содержанию", "source.link.title": "Перейти к репозиторию", "toc.title": "Содержание" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "ru",
"clipboard.copy": "Копировать в буфер",
"clipboard.copied": "Скопировано в буфер",
"edit.link.title": "Редактировать страницу",
"footer.previous": "Назад",
"footer.next": "Вперед",
"meta.comments": "Комментарии",
"meta.source": "Исходный код",
"search.language": "ru",
"search.placeholder": "Поиск",
"search.result.placeholder": "Начните печатать для поиска",
"search.result.none": "Совпадений не найдено",
"search.result.one": "Найдено 1 совпадение",
"search.result.other": "Найдено # совпадений",
"skip.link.title": "Перейти к содержанию",
"source.link.title": "Перейти к репозиторию",
"toc.title": "Содержание"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "sh", "clipboard.copy": "Kopiraj u klipbord", "clipboard.copied": "Iskopirano u klipbord", "edit.link.title": "Uredi stranicu", "footer.previous": "Prethodno", "footer.next": "Sledeće", "meta.comments": "Komentari", "meta.source": "Izvor", "search.language": "ro", "search.placeholder": "Pretraga", "search.result.placeholder": "Unesite pojam pretrage", "search.result.none": "Ništa nije pronađeno", "search.result.one": "1 rezultat pretrage", "search.result.other": "# rezultata pretrage", "skip.link.title": "Idi na tekst", "source.link.title": "Idi u repozitorijum", "toc.title": "Sadržaj" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "sh",
"clipboard.copy": "Kopiraj u klipbord",
"clipboard.copied": "Iskopirano u klipbord",
"edit.link.title": "Uredi stranicu",
"footer.previous": "Prethodno",
"footer.next": "Sledeće",
"meta.comments": "Komentari",
"meta.source": "Izvor",
"search.language": "ro",
"search.placeholder": "Pretraga",
"search.result.placeholder": "Unesite pojam pretrage",
"search.result.none": "Ništa nije pronađeno",
"search.result.one": "1 rezultat pretrage",
"search.result.other": "# rezultata pretrage",
"skip.link.title": "Idi na tekst",
"source.link.title": "Idi u repozitorijum",
"toc.title": "Sadržaj"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "si", "clipboard.copy": "Kopiraj v odložišče", "clipboard.copied": "Kopirano v odložišče", "edit.link.title": "Uredi stran", "footer.previous": "Prejšnja stran", "footer.next": "Naslednja stran", "meta.comments": "Komentarji", "meta.source": "Izvorna koda", "search.language": "", "search.placeholder": "Išči", "search.result.placeholder": "Vpiši iskalni niz", "search.result.none": "Ni zadetkov", "search.result.one": "1 zadetek", "search.result.other": "# zadetkov", "skip.link.title": "Skoči na vsebino", "source.link.title": "Pojdi na repozitorij", "toc.title": "Kazalo" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "si",
"clipboard.copy": "Kopiraj v odložišče",
"clipboard.copied": "Kopirano v odložišče",
"edit.link.title": "Uredi stran",
"footer.previous": "Prejšnja stran",
"footer.next": "Naslednja stran",
"meta.comments": "Komentarji",
"meta.source": "Izvorna koda",
"search.language": "",
"search.placeholder": "Išči",
"search.result.placeholder": "Vpiši iskalni niz",
"search.result.none": "Ni zadetkov",
"search.result.one": "1 zadetek",
"search.result.other": "# zadetkov",
"skip.link.title": "Skoči na vsebino",
"source.link.title": "Pojdi na repozitorij",
"toc.title": "Kazalo"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "sk", "clipboard.copy": "Kopírovať do schránky", "clipboard.copied": "Skopírované do schránky", "edit.link.title": "Upraviť túto stránku", "footer.previous": "Späť", "footer.next": "Ďalej", "meta.comments": "Komentáre", "meta.source": "Zdroj", "search.language": "", "search.placeholder": "Hľadať", "search.result.placeholder": "Pre vyhľadávanie začni písať", "search.result.none": "Žiadne vyhovujúce dokumenty", "search.result.one": "Vyhovujúci dokument: 1", "search.result.other": "Vyhovujúce dokumenty: #", "skip.link.title": "Preskočiť na obsah", "source.link.title": "Zobraziť repozitár", "toc.title": "Obsah" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "sk",
"clipboard.copy": "Kopírovať do schránky",
"clipboard.copied": "Skopírované do schránky",
"edit.link.title": "Upraviť túto stránku",
"footer.previous": "Späť",
"footer.next": "Ďalej",
"meta.comments": "Komentáre",
"meta.source": "Zdroj",
"search.language": "",
"search.placeholder": "Hľadať",
"search.result.placeholder": "Pre vyhľadávanie začni písať",
"search.result.none": "Žiadne vyhovujúce dokumenty",
"search.result.one": "Vyhovujúci dokument: 1",
"search.result.other": "Vyhovujúce dokumenty: #",
"skip.link.title": "Preskočiť na obsah",
"source.link.title": "Zobraziť repozitár",
"toc.title": "Obsah"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,24 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "sr", "clipboard.copy": "Копирај у клипборд", "clipboard.copied": "Ископирано у клипборд", "edit.link.title": "Уреди страницу", "footer.previous": "Претходно", "footer.next": "Следеће", "meta.comments": "Коментари", "meta.source": "Извор", "search.language": "", "search.pipeline.stopwords": false, "search.pipeline.trimmer": false, "search.placeholder": "Претрага", "search.result.placeholder": "Унесите појам претраге", "search.result.none": "Нису пронађени документи", "search.result.one": "1 резултат претраге", "search.result.other": "# резултата претраге", "skip.link.title": "Иди на текст", "source.link.title": "Иди у репозиторијум", "toc.title": "Садржај" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "sr",
"clipboard.copy": "Копирај у клипборд",
"clipboard.copied": "Ископирано у клипборд",
"edit.link.title": "Уреди страницу",
"footer.previous": "Претходно",
"footer.next": "Следеће",
"meta.comments": "Коментари",
"meta.source": "Извор",
"search.language": "",
"search.pipeline.stopwords": false,
"search.pipeline.trimmer": false,
"search.placeholder": "Претрага",
"search.result.placeholder": "Унесите појам претраге",
"search.result.none": "Нису пронађени документи",
"search.result.one": "1 резултат претраге",
"search.result.other": "# резултата претраге",
"skip.link.title": "Иди на текст",
"source.link.title": "Иди у репозиторијум",
"toc.title": "Садржај"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "sv", "clipboard.copy": "Kopiera till urklipp", "clipboard.copied": "Kopierat till urklipp", "edit.link.title": "Redigera sidan", "footer.previous": "Föregående", "footer.next": "Nästa", "meta.comments": "Kommentarer", "meta.source": "Källa", "search.language": "sv", "search.placeholder": "Sök", "search.result.placeholder": "Skriv sökord", "search.result.none": "Inga sökresultat", "search.result.one": "1 sökresultat", "search.result.other": "# sökresultat", "skip.link.title": "Gå till innehållet", "source.link.title": "Gå till datakatalog", "toc.title": "Innehållsförteckning" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "sv",
"clipboard.copy": "Kopiera till urklipp",
"clipboard.copied": "Kopierat till urklipp",
"edit.link.title": "Redigera sidan",
"footer.previous": "Föregående",
"footer.next": "Nästa",
"meta.comments": "Kommentarer",
"meta.source": "Källa",
"search.language": "sv",
"search.placeholder": "Sök",
"search.result.placeholder": "Skriv sökord",
"search.result.none": "Inga sökresultat",
"search.result.one": "1 sökresultat",
"search.result.other": "# sökresultat",
"skip.link.title": "Gå till innehållet",
"source.link.title": "Gå till datakatalog",
"toc.title": "Innehållsförteckning"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,21 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "tr", "clipboard.copy": "Kopyala", "clipboard.copied": "Kopyalandı", "edit.link.title": "Düzenle", "footer.previous": "Önceki", "footer.next": "Sonraki", "meta.comments": "Yorumlar", "meta.source": "Kaynak", "search.language": "tr", "search.placeholder": "Ara", "search.result.placeholder": "Aramaya başlamak için yazın", "search.result.none": "Eşleşen doküman bulunamadı", "search.result.one": "1 doküman bulundu", "search.result.other": "# doküman bulundu", "source.link.title": "Depoya git", "toc.title": "İçindekiler" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "tr",
"clipboard.copy": "Kopyala",
"clipboard.copied": "Kopyalandı",
"edit.link.title": "Düzenle",
"footer.previous": "Önceki",
"footer.next": "Sonraki",
"meta.comments": "Yorumlar",
"meta.source": "Kaynak",
"search.language": "tr",
"search.placeholder": "Ara",
"search.result.placeholder": "Aramaya başlamak için yazın",
"search.result.none": "Eşleşen doküman bulunamadı",
"search.result.one": "1 doküman bulundu",
"search.result.other": "# doküman bulundu",
"source.link.title": "Depoya git",
"toc.title": "İçindekiler"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,22 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "uk", "clipboard.copy": "Скопіювати в буфер", "clipboard.copied": "Скопійовано в буфер", "edit.link.title": "Редагувати сторінку", "footer.previous": "Назад", "footer.next": "Вперед", "meta.comments": "Коментарі", "meta.source": "Вихідний код", "search.language": "ru", "search.placeholder": "Пошук", "search.result.placeholder": "Розпочніть писати для пошуку", "search.result.none": "Збігів не знайдено", "search.result.one": "Знайдено 1 збіг", "search.result.other": "Знайдено # збігів", "skip.link.title": "Перейти до змісту", "source.link.title": "Перейти до репозиторію", "toc.title": "Зміст" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "uk",
"clipboard.copy": "Скопіювати в буфер",
"clipboard.copied": "Скопійовано в буфер",
"edit.link.title": "Редагувати сторінку",
"footer.previous": "Назад",
"footer.next": "Вперед",
"meta.comments": "Коментарі",
"meta.source": "Вихідний код",
"search.language": "ru",
"search.placeholder": "Пошук",
"search.result.placeholder": "Розпочніть писати для пошуку",
"search.result.none": "Збігів не знайдено",
"search.result.one": "Знайдено 1 збіг",
"search.result.other": "Знайдено # збігів",
"skip.link.title": "Перейти до змісту",
"source.link.title": "Перейти до репозиторію",
"toc.title": "Зміст"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,21 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "vi", "clipboard.copy": "Sao chép vào bộ nhớ", "clipboard.copied": "Sao chép xong", "edit.link.title": "Chỉnh sửa", "footer.previous": "Trước", "footer.next": "Sau", "meta.comments": "Bình luận", "meta.source": "Mã nguồn", "search.placeholder": "Tìm kiếm", "search.result.placeholder": "Nhập để bắt đầu tìm kiếm", "search.result.none": "Không tìm thấy tài liệu liên quan", "search.result.one": "1 tài liệu liên quan", "search.result.other": "# tài liệu liên quan", "skip.link.title": "Vào thẳng nội dung", "source.link.title": "Đến kho lưu trữ mã nguồn", "toc.title": "Mục lục" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "vi",
"clipboard.copy": "Sao chép vào bộ nhớ",
"clipboard.copied": "Sao chép xong",
"edit.link.title": "Chỉnh sửa",
"footer.previous": "Trước",
"footer.next": "Sau",
"meta.comments": "Bình luận",
"meta.source": "Mã nguồn",
"search.placeholder": "Tìm kiếm",
"search.result.placeholder": "Nhập để bắt đầu tìm kiếm",
"search.result.none": "Không tìm thấy tài liệu liên quan",
"search.result.one": "1 tài liệu liên quan",
"search.result.other": "# tài liệu liên quan",
"skip.link.title": "Vào thẳng nội dung",
"source.link.title": "Đến kho lưu trữ mã nguồn",
"toc.title": "Mục lục"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,23 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "zh-Hant", "clipboard.copy": "拷貝", "clipboard.copied": "已拷貝", "edit.link.title": "編輯此頁", "footer.previous": "上一頁", "footer.next": "下一頁", "meta.comments": "評論", "meta.source": "來源", "search.language": "ja", "search.placeholder": "搜尋", "search.result.placeholder": "鍵入以開始檢索", "search.result.none": "沒有找到符合條件的結果", "search.result.one": "找到 1 个符合條件的結果", "search.result.other": "# 個符合條件的結果", "search.tokenizer": "[\\。]+", "skip.link.title": "跳轉至", "source.link.title": "前往 Github 倉庫", "toc.title": "目錄" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "zh-Hant",
"clipboard.copy": "拷貝",
"clipboard.copied": "已拷貝",
"edit.link.title": "編輯此頁",
"footer.previous": "上一頁",
"footer.next": "下一頁",
"meta.comments": "評論",
"meta.source": "來源",
"search.language": "ja",
"search.placeholder": "搜尋",
"search.result.placeholder": "鍵入以開始檢索",
"search.result.none": "沒有找到符合條件的結果",
"search.result.one": "找到 1 个符合條件的結果",
"search.result.other": "# 個符合條件的結果",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳轉至",
"source.link.title": "前往 Github 倉庫",
"toc.title": "目錄"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,23 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "zh-Hant", "clipboard.copy": "複製", "clipboard.copied": "已複製", "edit.link.title": "編輯此頁", "footer.previous": "上一頁", "footer.next": "下一頁", "meta.comments": "留言", "meta.source": "來源", "search.language": "ja", "search.placeholder": "搜尋", "search.result.placeholder": "打字進行搜尋", "search.result.none": "沒有符合的項目", "search.result.one": "找到 1 個符合的項目", "search.result.other": "找到 # 個符合的項目", "search.tokenizer": "[\\。]+", "skip.link.title": "跳轉到", "source.link.title": "前往倉庫", "toc.title": "本頁目錄" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "zh-Hant",
"clipboard.copy": "複製",
"clipboard.copied": "已複製",
"edit.link.title": "編輯此頁",
"footer.previous": "上一頁",
"footer.next": "下一頁",
"meta.comments": "留言",
"meta.source": "來源",
"search.language": "ja",
"search.placeholder": "搜尋",
"search.result.placeholder": "打字進行搜尋",
"search.result.none": "沒有符合的項目",
"search.result.one": "找到 1 個符合的項目",
"search.result.other": "找到 # 個符合的項目",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳轉到",
"source.link.title": "前往倉庫",
"toc.title": "本頁目錄"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,23 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% macro t(key) %}{{ { "language": "zh", "clipboard.copy": "复制", "clipboard.copied": "已复制", "edit.link.title": "编辑此页", "footer.previous": "上一页", "footer.next": "下一页", "meta.comments": "评论", "meta.source": "来源", "search.language": "ja", "search.placeholder": "搜索", "search.result.placeholder": "键入以开始搜索", "search.result.none": "没有找到符合条件的结果", "search.result.one": "找到 1 个符合条件的结果", "search.result.other": "# 个符合条件的结果", "search.tokenizer": "[\\。]+", "skip.link.title": "跳转至", "source.link.title": "前往 Github 仓库", "toc.title": "目录" }[key] }}{% endmacro %} {% macro t(key) %}{{ {
"language": "zh",
"clipboard.copy": "复制",
"clipboard.copied": "已复制",
"edit.link.title": "编辑此页",
"footer.previous": "上一页",
"footer.next": "下一页",
"meta.comments": "评论",
"meta.source": "来源",
"search.language": "ja",
"search.placeholder": "搜索",
"search.result.placeholder": "键入以开始搜索",
"search.result.none": "没有找到符合条件的结果",
"search.result.one": "找到 1 个符合条件的结果",
"search.result.other": "# 个符合条件的结果",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳转至",
"source.link.title": "前往 Github 仓库",
"toc.title": "目录"
}[key] }}{% endmacro %}

View File

@ -1,4 +1,57 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- set class = "md-nav__item" -%} {%- if nav_item.active -%} {%- set class = "md-nav__item md-nav__item--active" -%} {%- endif -%} {%- if nav_item.children -%}<li class="{{ class }} md-nav__item--nested">{%- if nav_item.active -%} <input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}" type="checkbox" id="{{ path }}" checked> {%- else -%} <input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}" type="checkbox" id="{{ path }}"> {%- endif -%} <label class="md-nav__link" for="{{ path }}">{{- nav_item.title -}}</label><nav class="md-nav" data-md-component="collapsible" data-md-level="{{ level }}"><label class="md-nav__title" for="{{ path }}">{{- nav_item.title -}}</label><ul class="md-nav__list" data-md-scrollfix>{%- set base = path -%} {%- for nav_item in nav_item.children -%} {%- set path = base + "-" + loop.index | string -%} {%- set level = level + 1 -%} {%- include "partials/nav-item.html" -%} {%- endfor -%}</ul></nav></li>{%- elif nav_item == page -%}<li class="{{ class }}">{%- set toc_ = page.toc -%} <input class="md-toggle md-nav__toggle" data-md-toggle="toc" type="checkbox" id="__toc"> {%- if toc_ | first is defined and "\x3ch1 id=" in page.content -%} {%- set toc_ = (toc_ | first).children -%} {%- endif -%} {%- if toc_ | first is defined -%} <label class="md-nav__link md-nav__link--active" for="__toc">{{- nav_item.title -}}</label> {%- endif -%} <a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" class="md-nav__link md-nav__link--active">{{- nav_item.title -}} </a>{%- if toc_ | first is defined -%} {%- include "partials/toc.html" -%} {%- endif -%}</li>{%- else -%}<li class="{{ class }}"><a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" class="md-nav__link">{{- nav_item.title -}}</a></li>{%- endif -%} {% set class = "md-nav__item" %}
{% if nav_item.active %}
{% set class = "md-nav__item md-nav__item--active" %}
{% endif %}
{% if nav_item.children %}
<li class="{{ class }} md-nav__item--nested">
{% if nav_item.active %}
<input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}" type="checkbox" id="{{ path }}" checked>
{% else %}
<input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}" type="checkbox" id="{{ path }}">
{% endif %}
<label class="md-nav__link" for="{{ path }}">
{{- nav_item.title -}}
</label>
<nav class="md-nav" data-md-component="collapsible" data-md-level="{{ level }}">
<label class="md-nav__title" for="{{ path }}">
{{- nav_item.title -}}
</label>
<ul class="md-nav__list" data-md-scrollfix>
{% set base = path %}
{% for nav_item in nav_item.children %}
{% set path = base + "-" + loop.index | string %}
{% set level = level + 1 %}
{% include "partials/nav-item.html" %}
{% endfor %}
</ul>
</nav>
</li>
{% elif nav_item == page %}
<li class="{{ class }}">
{% set toc_ = page.toc %}
<input class="md-toggle md-nav__toggle" data-md-toggle="toc" type="checkbox" id="__toc">
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %}
{% endif %}
{% if toc_ | first is defined %}
<label class="md-nav__link md-nav__link--active" for="__toc">
{{- nav_item.title -}}
</label>
{% endif %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" class="md-nav__link md-nav__link--active">
{{- nav_item.title -}}
</a>
{% if toc_ | first is defined %}
{% include "partials/toc.html" %}
{% endif %}
</li>
{% else %}
<li class="{{ class }}">
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" class="md-nav__link">
{{- nav_item.title -}}
</a>
</li>
{% endif %}

View File

@ -1,4 +1,27 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
<nav class="md-nav md-nav--primary" data-md-level="0"><label class="md-nav__title md-nav__title--site" for="__drawer"><a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" title="{{ config.site_name }}" class="md-nav__button md-logo">{%- if config.theme.logo.icon -%} <i class="md-icon">{{- config.theme.logo.icon -}}</i> {%- else -%} <img src="{{ config.theme.logo | url }}" width="48" height="48"> {%- endif -%} </a>{{- config.site_name -}}</label> {%- if config.repo_url -%}<div class="md-nav__source">{%- include "partials/source.html" -%}</div>{%- endif -%}<ul class="md-nav__list" data-md-scrollfix>{%- for nav_item in nav -%} {%- set path = "nav-" + loop.index | string -%} {%- set level = 1 -%} {%- include "partials/nav-item.html" -%} {%- endfor -%}</ul></nav> <nav class="md-nav md-nav--primary" data-md-level="0">
<label class="md-nav__title md-nav__title--site" for="__drawer">
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" title="{{ config.site_name }}" class="md-nav__button md-logo">
{% if config.theme.logo.icon %}
<i class="md-icon">{{- config.theme.logo.icon -}}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="48" height="48">
{% endif %}
</a>
{{- config.site_name -}}
</label>
{% if config.repo_url %}
<div class="md-nav__source">
{% include "partials/source.html" %}
</div>
{% endif %}
<ul class="md-nav__list" data-md-scrollfix>
{% for nav_item in nav %}
{% set path = "nav-" + loop.index | string %}
{% set level = 1 %}
{% include "partials/nav-item.html" %}
{% endfor %}
</ul>
</nav>

View File

@ -1,4 +1,42 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- macro primary(key) -%}{{- { "red": "#ef5350", "pink": "#e91e63", "purple": "#ab47bc", "deep-purple": "#7e57c2", "indigo": "#3f51b5", "blue": "#2196f3", "light-blue": "#03a9f4", "cyan": "#00bcd4", "teal": "#009688", "green": "#4caf50", "light-green": "#7cb342", "lime": "#c0ca33", "yellow": "#f9a825", "amber": "#ffa000", "orange": "#fb8c00", "deep-orange": "#ff7043", "brown": "#795548", "grey": "#757575", "blue-grey": "#546e7a" }[key] -}}{%- endmacro -%} {%- macro accent(key) %}{{- { "red": "#ff1744", "pink": "#f50057", "purple": "#e040fb", "deep-purple": "#7c4dff", "indigo": "#536dfe", "blue": "#448aff", "light-blue": "#0091ea", "cyan": "#00b8d4", "teal": "#00bfa5", "green": "#00c853", "light-green": "#64dd17", "lime": "#aeea00", "yellow": "#ffd600", "amber": "#ffab00", "orange": "#ff9100", "deep-orange": "#ff6e40" }[key] -}}{%- endmacro -%} {% macro primary(key) %}{{- {
"red": "#ef5350",
"pink": "#e91e63",
"purple": "#ab47bc",
"deep-purple": "#7e57c2",
"indigo": "#3f51b5",
"blue": "#2196f3",
"light-blue": "#03a9f4",
"cyan": "#00bcd4",
"teal": "#009688",
"green": "#4caf50",
"light-green": "#7cb342",
"lime": "#c0ca33",
"yellow": "#f9a825",
"amber": "#ffa000",
"orange": "#fb8c00",
"deep-orange": "#ff7043",
"brown": "#795548",
"grey": "#757575",
"blue-grey": "#546e7a"
}[key] -}}{% endmacro %}
{% macro accent(key) %}{{- {
"red": "#ff1744",
"pink": "#f50057",
"purple": "#e040fb",
"deep-purple": "#7c4dff",
"indigo": "#536dfe",
"blue": "#448aff",
"light-blue": "#0091ea",
"cyan": "#00b8d4",
"teal": "#00bfa5",
"green": "#00c853",
"light-green": "#64dd17",
"lime": "#aeea00",
"yellow": "#ffd600",
"amber": "#ffab00",
"orange": "#ff9100",
"deep-orange": "#ff6e40"
}[key] -}}{% endmacro %}

View File

@ -1,4 +1,26 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- import "partials/language.html" as lang with context -%}<div class="md-search" data-md-component="search" role="dialog"><label class="md-search__overlay" for="__search"></label><div class="md-search__inner" role="search"><form class="md-search__form" name="search"><input type="text" class="md-search__input" name="query" placeholder="{{ lang.t('search.placeholder') }}" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="query" data-md-state="active"> <label class="md-icon md-search__icon" for="__search"></label> <button type="reset" class="md-icon md-search__icon" data-md-component="reset" tabindex="-1">&#xE5CD;</button></form><div class="md-search__output"><div class="md-search__scrollwrap" data-md-scrollfix><div class="md-search-result" data-md-component="result"><div class="md-search-result__meta">{{- lang.t("search.result.placeholder") -}}</div><ol class="md-search-result__list"></ol></div></div></div></div></div> {% import "partials/language.html" as lang with context %}
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" placeholder="{{ lang.t('search.placeholder') }}" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="query" data-md-state="active">
<label class="md-icon md-search__icon" for="__search"></label>
<button type="reset" class="md-icon md-search__icon" data-md-component="reset" tabindex="-1">
&#xE5CD;
</button>
</form>
<div class="md-search__output">
<div class="md-search__scrollwrap" data-md-scrollfix>
<div class="md-search-result" data-md-component="result">
<div class="md-search-result__meta">
{{- lang.t("search.result.placeholder") -}}
</div>
<ol class="md-search-result__list"></ol>
</div>
</div>
</div>
</div>
</div>

View File

@ -1,4 +1,11 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- if config.extra.social -%}<div class="md-footer-social"><link rel="stylesheet" href="{{ 'assets/fonts/font-awesome.css' | url }}">{%- for social in config.extra.social %} <a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a> {% endfor -%}</div>{%- endif -%} {% if config.extra.social %}
<div class="md-footer-social">
<link rel="stylesheet" href="{{ 'assets/fonts/font-awesome.css' | url }}">
{% for social in config.extra.social %}
<a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a>
{% endfor %}
</div>
{% endif %}

View File

@ -1,4 +1,26 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- import "partials/language.html" as lang with context -%} {%- set platform = config.extra.repo_icon or config.repo_url -%} {%- if "github" in platform -%} {%- set repo_type = "github" -%} {%- elif "gitlab" in platform -%} {%- set repo_type = "gitlab" -%} {%- elif "bitbucket" in platform -%} {%- set repo_type = "bitbucket" -%} {%- else -%} {%- set repo_type = "" -%} {%- endif -%} <a href="{{ config.repo_url }}" title="{{ lang.t('source.link.title') }}" class="md-source" data-md-source="{{ repo_type }}">{%- if repo_type -%}<div class="md-source__icon"><svg viewBox="0 0 24 24" width="24" height="24"><use xlink:href="#__{{ repo_type }}" width="24" height="24"></use></svg></div>{%- endif -%}<div class="md-source__repository">{{- config.repo_name -}}</div></a> {% import "partials/language.html" as lang with context %}
{% set platform = config.extra.repo_icon or config.repo_url %}
{% if "github" in platform %}
{% set repo_type = "github" %}
{% elif "gitlab" in platform %}
{% set repo_type = "gitlab" %}
{% elif "bitbucket" in platform %}
{% set repo_type = "bitbucket" %}
{% else %}
{% set repo_type = "" %}
{% endif %}
<a href="{{ config.repo_url }}" title="{{ lang.t('source.link.title') }}" class="md-source" data-md-source="{{ repo_type }}">
{% if repo_type %}
<div class="md-source__icon">
<svg viewBox="0 0 24 24" width="24" height="24">
<use xlink:href="#__{{ repo_type }}" width="24" height="24"></use>
</svg>
</div>
{% endif %}
<div class="md-source__repository">
{{- config.repo_name -}}
</div>
</a>

View File

@ -1,4 +1,34 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- if nav_item.is_homepage -%}<li class="md-tabs__item">{%- if not page.ancestors | length and nav | selectattr("url", page.url) -%} <a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" class="md-tabs__link md-tabs__link--active">{{- nav_item.title -}} </a>{%- else -%} <a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" class="md-tabs__link">{{- nav_item.title -}} </a>{%- endif -%}</li>{%- elif nav_item.children and nav_item.children | length > 0 -%} {%- set title = title | default(nav_item.title) -%} {%- if (nav_item.children | first).children -%} {%- set nav_item = nav_item.children | first -%} {%- include "partials/tabs-item.html" -%} {%- else -%}<li class="md-tabs__item">{%- if nav_item.active -%} <a href="{{ (nav_item.children | first).url | url }}" title="{{ title }}" class="md-tabs__link md-tabs__link--active">{{- title -}} </a>{%- else -%} <a href="{{ (nav_item.children | first).url | url }}" title="{{ title }}" class="md-tabs__link">{{- title -}} </a>{%- endif -%}</li>{%- endif -%} {%- endif -%} {% if nav_item.is_homepage %}
<li class="md-tabs__item">
{% if not page.ancestors | length and nav | selectattr("url", page.url) %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" class="md-tabs__link md-tabs__link--active">
{{- nav_item.title -}}
</a>
{% else %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" class="md-tabs__link">
{{- nav_item.title -}}
</a>
{% endif %}
</li>
{% elif nav_item.children and nav_item.children | length > 0 %}
{% set title = title | default(nav_item.title) %}
{% if (nav_item.children | first).children %}
{% set nav_item = nav_item.children | first %}
{% include "partials/tabs-item.html" %}
{% else %}
<li class="md-tabs__item">
{% if nav_item.active %}
<a href="{{ (nav_item.children | first).url | url }}" title="{{ title }}" class="md-tabs__link md-tabs__link--active">
{{- title -}}
</a>
{% else %}
<a href="{{ (nav_item.children | first).url | url }}" title="{{ title }}" class="md-tabs__link">
{{- title -}}
</a>
{% endif %}
</li>
{% endif %}
{% endif %}

View File

@ -1,4 +1,16 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- set class = "md-tabs" -%} {%- if page.ancestors | length > 0 -%} {%- set class = "md-tabs md-tabs--active" -%} {%- endif -%}<nav class="{{ class }}" data-md-component="tabs"><div class="md-tabs__inner md-grid"><ul class="md-tabs__list">{%- for nav_item in nav -%} {%- include "partials/tabs-item.html" -%} {%- endfor -%}</ul></div></nav> {% set class = "md-tabs" %}
{% if page.ancestors | length > 0 %}
{% set class = "md-tabs md-tabs--active" %}
{% endif %}
<nav class="{{ class }}" data-md-component="tabs">
<div class="md-tabs__inner md-grid">
<ul class="md-tabs__list">
{% for nav_item in nav %}
{% include "partials/tabs-item.html" %}
{% endfor %}
</ul>
</div>
</nav>

View File

@ -1,4 +1,17 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
<li class="md-nav__item"><a href="{{ toc_item.url }}" title="{{ toc_item.title }}" class="md-nav__link">{{- toc_item.title -}} </a>{%- if toc_item.children -%}<nav class="md-nav"><ul class="md-nav__list">{%- for toc_item in toc_item.children -%} {%- include "partials/toc-item.html" -%} {%- endfor -%}</ul></nav>{% endif %}</li> <li class="md-nav__item">
<a href="{{ toc_item.url }}" title="{{ toc_item.title }}" class="md-nav__link">
{{- toc_item.title -}}
</a>
{% if toc_item.children %}
<nav class="md-nav">
<ul class="md-nav__list">
{% for toc_item in toc_item.children %}
{% include "partials/toc-item.html" %}
{% endfor %}
</ul>
</nav>
{% endif %}
</li>

View File

@ -1,4 +1,36 @@
{#- {#-
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{%- import "partials/language.html" as lang with context -%}<nav class="md-nav md-nav--secondary">{%- set toc_ = page.toc -%} {%- if toc_ | first is defined and "\x3ch1 id=" in page.content -%} {%- set toc_ = (toc_ | first).children -%} {%- endif -%} {%- if toc_ | first is defined -%} <label class="md-nav__title" for="__toc">{{- lang.t("toc.title") -}}</label><ul class="md-nav__list" data-md-scrollfix>{%- for toc_item in toc_ -%} {%- include "partials/toc-item.html" -%} {%- endfor -%} {%- if page.meta.source and page.meta.source | length > 0 -%}<li class="md-nav__item"><a href="#__source" title="{{ lang.t('meta.source') }}" class="md-nav__link md-nav__link--active">{{- lang.t("meta.source") -}}</a></li>{%- endif -%} {%- set disqus = config.extra.disqus -%} {%- if page and page.meta and page.meta.disqus is string -%} {%- set disqus = page.meta.disqus -%} {%- endif -%} {%- if not page.is_homepage and disqus -%}<li class="md-nav__item"><a href="#__comments" title="{{ lang.t('meta.comments') }}" class="md-nav__link md-nav__link--active">{{- lang.t("meta.comments") -}}</a></li>{%- endif -%}</ul>{%- endif -%}</nav> {% import "partials/language.html" as lang with context %}
<nav class="md-nav md-nav--secondary">
{% set toc_ = page.toc %}
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %}
{% endif %}
{% if toc_ | first is defined %}
<label class="md-nav__title" for="__toc">{{- lang.t("toc.title") -}}</label>
<ul class="md-nav__list" data-md-scrollfix>
{% for toc_item in toc_ %}
{% include "partials/toc-item.html" %}
{% endfor %}
{% if page.meta.source and page.meta.source | length > 0 %}
<li class="md-nav__item">
<a href="#__source" title="{{ lang.t('meta.source') }}" class="md-nav__link md-nav__link--active">
{{- lang.t("meta.source") -}}
</a>
</li>
{% endif %}
{% set disqus = config.extra.disqus %}
{% if page and page.meta and page.meta.disqus is string %}
{% set disqus = page.meta.disqus %}
{% endif %}
{% if not page.is_homepage and disqus %}
<li class="md-nav__item">
<a href="#__comments" title="{{ lang.t('meta.comments') }}" class="md-nav__link md-nav__link--active">
{{- lang.t("meta.comments") -}}
</a>
</li>
{% endif %}
</ul>
{% endif %}
</nav>

View File

@ -59,6 +59,13 @@ theme:
logo: logo:
icon: "\uE80C" icon: "\uE80C"
# Plugins
plugins:
- search
- minify:
minify_html: true
minify_js: true
# Customization # Customization
extra: extra:
social: social:

View File

@ -20,5 +20,6 @@
# Direct dependencies # Direct dependencies
mkdocs>=1 mkdocs>=1
mkdocs-minify-plugin>=0.2
Pygments>=2.2 Pygments>=2.2
pymdown-extensions>=4.11 pymdown-extensions>=4.11

View File

@ -20,19 +20,19 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
{%- import "partials/language.html" as lang with context -%} {% import "partials/language.html" as lang with context %}
<!-- Theme options --> <!-- Theme options -->
{%- set feature = config.theme.feature -%} {% set feature = config.theme.feature %}
{%- set palette = config.theme.palette -%} {% set palette = config.theme.palette %}
{%- set font = config.theme.font -%} {% set font = config.theme.font %}
<!doctype html> <!doctype html>
<html lang="{{ lang.t('language') }}" class="no-js"> <html lang="{{ lang.t('language') }}" class="no-js">
<head> <head>
<!-- Metatags --> <!-- Metatags -->
{%- block site_meta -%} {% block site_meta %}
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
@ -40,15 +40,15 @@
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
<!-- Page description --> <!-- Page description -->
{%- if page and page.meta and page.meta.description -%} {% if page and page.meta and page.meta.description %}
<meta name="description" <meta name="description"
content="{{ page.meta.description }}" /> content="{{ page.meta.description }}" />
{%- elif config.site_description -%} {% elif config.site_description %}
<meta name="description" content="{{ config.site_description }}" /> <meta name="description" content="{{ config.site_description }}" />
{%- endif -%} {% endif %}
<!-- Redirect --> <!-- Redirect -->
{%- if page and page.meta and page.meta.redirect -%} {% if page and page.meta and page.meta.redirect %}
<script> <script>
var anchor = window.location.hash.substr(1) var anchor = window.location.hash.substr(1)
location.href = '{{ page.meta.redirect }}' + location.href = '{{ page.meta.redirect }}' +
@ -61,19 +61,19 @@
<link rel="canonical" href="{{ page.meta.redirect }}" /> <link rel="canonical" href="{{ page.meta.redirect }}" />
<!-- Canonical --> <!-- Canonical -->
{%- elif page.canonical_url -%} {% elif page.canonical_url %}
<link rel="canonical" href="{{ page.canonical_url }}" /> <link rel="canonical" href="{{ page.canonical_url }}" />
{%- endif -%} {% endif %}
<!-- Page author --> <!-- Page author -->
{%- if page and page.meta and page.meta.author -%} {% if page and page.meta and page.meta.author %}
<meta name="author" content="{{ page.meta.author | first }}" /> <meta name="author" content="{{ page.meta.author | first }}" />
{%- elif config.site_author -%} {% elif config.site_author %}
<meta name="author" content="{{ config.site_author }}" /> <meta name="author" content="{{ config.site_author }}" />
{%- endif -%} {% endif %}
<!-- Localization --> <!-- Localization -->
{%- for key in [ {% for key in [
"clipboard.copy", "clipboard.copy",
"clipboard.copied", "clipboard.copied",
"search.language", "search.language",
@ -83,9 +83,9 @@
"search.result.one", "search.result.one",
"search.result.other", "search.result.other",
"search.tokenizer" "search.tokenizer"
] -%} ] %}
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}" /> <meta name="lang:{{ key }}" content="{{ lang.t(key) }}" />
{%- endfor -%} {% endfor %}
<!-- Favicon --> <!-- Favicon -->
<link rel="shortcut icon" <link rel="shortcut icon"
@ -94,52 +94,52 @@
<!-- Generator banner --> <!-- Generator banner -->
<meta name="generator" <meta name="generator"
content="mkdocs-{{ mkdocs_version }}, $md-name$-$md-version$" /> content="mkdocs-{{ mkdocs_version }}, $md-name$-$md-version$" />
{%- endblock -%} {% endblock %}
<!-- Site title --> <!-- Site title -->
{%- block htmltitle -%} {% block htmltitle %}
{%- if page and page.meta and page.meta.title -%} {% if page and page.meta and page.meta.title %}
<title>{{ page.meta.title }}</title> <title>{{ page.meta.title }}</title>
{%- elif page and page.title and not page.is_homepage -%} {% elif page and page.title and not page.is_homepage %}
<title>{{ page.title }} - {{ config.site_name }}</title> <title>{{ page.title }} - {{ config.site_name }}</title>
{%- else -%} {% else %}
<title>{{ config.site_name }}</title> <title>{{ config.site_name }}</title>
{%- endif -%} {% endif %}
{%- endblock -%} {% endblock %}
<!-- Stylesheets --> <!-- Stylesheets -->
{%- block styles -%} {% block styles %}
<!-- Theme-related stylesheets --> <!-- Theme-related stylesheets -->
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="{{ 'assets/stylesheets/application.css' | url }}" /> href="{{ 'assets/stylesheets/application.css' | url }}" />
<!-- Extra color palette --> <!-- Extra color palette -->
{%- if palette.primary or palette.accent -%} {% if palette.primary or palette.accent %}
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="{{ 'assets/stylesheets/application-palette.css' | url }}" /> href="{{ 'assets/stylesheets/application-palette.css' | url }}" />
{%- endif -%} {% endif %}
<!-- Theme-color meta tag for Android --> <!-- Theme-color meta tag for Android -->
{%- if palette.primary -%} {% if palette.primary %}
{%- import "partials/palette.html" as map -%} {% import "partials/palette.html" as map %}
{%- set primary = map.primary( {% set primary = map.primary(
palette.primary | replace(" ", "-") | lower palette.primary | replace(" ", "-") | lower
) -%} ) %}
<meta name="theme-color" content="{{ primary }}" /> <meta name="theme-color" content="{{ primary }}" />
{%- endif -%} {% endif %}
{%- endblock -%} {% endblock %}
<!-- JavaScript libraries --> <!-- JavaScript libraries -->
{%- block libs -%} {% block libs %}
<script src="{{ 'assets/javascripts/modernizr.js' | url }}"></script> <script src="{{ 'assets/javascripts/modernizr.js' | url }}"></script>
{%- endblock -%} {% endblock %}
<!-- Webfonts --> <!-- Webfonts -->
{%- block fonts -%} {% block fonts %}
<!-- Load fonts from Google --> <!-- Load fonts from Google -->
{%- if font != false -%} {% if font != false %}
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin /> <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin />
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family={{ href="https://fonts.googleapis.com/css?family={{
@ -156,44 +156,44 @@
Courier, monospace; Courier, monospace;
} }
</style> </style>
{%- endif -%} {% endif %}
{%- endblock -%} {% endblock %}
<!-- Material icons as iconset --> <!-- Material icons as iconset -->
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="{{ 'assets/fonts/material-icons.css' | url }}" /> href="{{ 'assets/fonts/material-icons.css' | url }}" />
<!-- Progressive Web App Manifest --> <!-- Progressive Web App Manifest -->
{%- if config.extra.manifest -%} {% if config.extra.manifest %}
<link rel="manifest" href="{{ config.extra.manifest | url }}"> <link rel="manifest" href="{{ config.extra.manifest | url }}">
{%- endif -%} {% endif %}
<!-- Custom stylesheets --> <!-- Custom stylesheets -->
{%- for path in config["extra_css"] -%} {% for path in config["extra_css"] %}
<link rel="stylesheet" type="text/css" href="{{ path | url }}" /> <link rel="stylesheet" type="text/css" href="{{ path | url }}" />
{%- endfor -%} {% endfor %}
<!-- Analytic scripts --> <!-- Analytic scripts -->
{%- block analytics -%} {% block analytics %}
{%- if config.google_analytics -%} {% if config.google_analytics %}
{%- include "partials/integrations/analytics.html" -%} {% include "partials/integrations/analytics.html" %}
{%- endif -%} {% endif %}
{%- endblock -%} {% endblock %}
<!-- Custom front matter --> <!-- Custom front matter -->
{%- block extrahead -%}{%- endblock -%} {% block extrahead %}{% endblock %}
</head> </head>
<!-- Text direction and color palette, if defined --> <!-- Text direction and color palette, if defined -->
{%- if palette.primary or palette.accent -%} {% if palette.primary or palette.accent %}
{%- set primary = palette.primary | replace(" ", "-") | lower -%} {% set primary = palette.primary | replace(" ", "-") | lower %}
{%- set accent = palette.accent | replace(" ", "-") | lower -%} {% set accent = palette.accent | replace(" ", "-") | lower %}
<body dir="{{ lang.t('direction') }}" <body dir="{{ lang.t('direction') }}"
data-md-color-primary="{{ primary }}" data-md-color-primary="{{ primary }}"
data-md-color-accent="{{ accent }}"> data-md-color-accent="{{ accent }}">
{%- else -%} {% else %}
<body dir="{{ lang.t('direction') }}"> <body dir="{{ lang.t('direction') }}">
{%- endif -%} {% endif %}
<!-- Hidden container for inline SVGs --> <!-- Hidden container for inline SVGs -->
<svg class="md-svg"> <svg class="md-svg">
@ -203,14 +203,14 @@
Check whether the repository is hosted on one of the supported code Check whether the repository is hosted on one of the supported code
hosting platforms (GitHub, GitLab or Bitbucket) to show icon. hosting platforms (GitHub, GitLab or Bitbucket) to show icon.
--> -->
{%- set platform = config.extra.repo_icon or config.repo_url -%} {% set platform = config.extra.repo_icon or config.repo_url %}
{%- if "github" in platform -%} {% if "github" in platform %}
{%- include "assets/images/icons/github.svg" -%} {% include "assets/images/icons/github.svg" %}
{%- elif "gitlab" in platform -%} {% elif "gitlab" in platform %}
{%- include "assets/images/icons/gitlab.svg" -%} {% include "assets/images/icons/gitlab.svg" %}
{%- elif "bitbucket" in platform -%} {% elif "bitbucket" in platform %}
{%- include "assets/images/icons/bitbucket.svg" -%} {% include "assets/images/icons/bitbucket.svg" %}
{%- endif -%} {% endif %}
</defs> </defs>
</svg> </svg>
@ -227,150 +227,150 @@
<label class="md-overlay" data-md-component="overlay" for="__drawer"></label> <label class="md-overlay" data-md-component="overlay" for="__drawer"></label>
<!-- Render "skip to content" link --> <!-- Render "skip to content" link -->
{%- if page.toc | first is defined -%} {% if page.toc | first is defined %}
<a href="{{ (page.toc | first).url }}" tabindex="1" <a href="{{ (page.toc | first).url }}" tabindex="1"
class="md-skip"> class="md-skip">
{{ lang.t('skip.link.title') }} {{ lang.t('skip.link.title') }}
</a> </a>
{%- endif -%} {% endif %}
<!-- Application header --> <!-- Application header -->
{%- block header -%} {% block header %}
{%- include "partials/header.html" -%} {% include "partials/header.html" %}
{%- endblock -%} {% endblock %}
<!-- Container, necessary for web-application context --> <!-- Container, necessary for web-application context -->
<div class="md-container"> <div class="md-container">
<!-- Hero teaser --> <!-- Hero teaser -->
{%- block hero -%} {% block hero %}
{%- if page and page.meta and page.meta.hero -%} {% if page and page.meta and page.meta.hero %}
{%- include "partials/hero.html" with context -%} {% include "partials/hero.html" with context %}
{%- endif -%} {% endif %}
{%- endblock -%} {% endblock %}
<!-- Tabs with outline --> <!-- Tabs with outline -->
{%- if feature.tabs -%} {% if feature.tabs %}
{%- include "partials/tabs.html" -%} {% include "partials/tabs.html" %}
{%- endif -%} {% endif %}
<!-- Main container --> <!-- Main container -->
<main class="md-main"> <main class="md-main">
<div class="md-main__inner md-grid" data-md-component="container"> <div class="md-main__inner md-grid" data-md-component="container">
<!-- Navigation --> <!-- Navigation -->
{%- block site_nav -%} {% block site_nav %}
<!-- Main navigation --> <!-- Main navigation -->
{%- if nav -%} {% if nav %}
<div class="md-sidebar md-sidebar--primary" <div class="md-sidebar md-sidebar--primary"
data-md-component="navigation"> data-md-component="navigation">
<div class="md-sidebar__scrollwrap"> <div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner"> <div class="md-sidebar__inner">
{%- include "partials/nav.html" -%} {% include "partials/nav.html" %}
</div> </div>
</div> </div>
</div> </div>
{%- endif -%} {% endif %}
<!-- Table of contents --> <!-- Table of contents -->
{%- if page.toc -%} {% if page.toc %}
<div class="md-sidebar md-sidebar--secondary" <div class="md-sidebar md-sidebar--secondary"
data-md-component="toc"> data-md-component="toc">
<div class="md-sidebar__scrollwrap"> <div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner"> <div class="md-sidebar__inner">
{%- include "partials/toc.html" -%} {% include "partials/toc.html" %}
</div> </div>
</div> </div>
</div> </div>
{%- endif -%} {% endif %}
{%- endblock -%} {% endblock %}
<!-- Article --> <!-- Article -->
<div class="md-content"> <div class="md-content">
<article class="md-content__inner md-typeset"> <article class="md-content__inner md-typeset">
<!-- Content --> <!-- Content -->
{%- block content -%} {% block content %}
<!-- Edit button, if URL was defined --> <!-- Edit button, if URL was defined -->
{%- if page.edit_url -%} {% if page.edit_url %}
<a href="{{ page.edit_url }}" <a href="{{ page.edit_url }}"
title="{{ lang.t('edit.link.title') }}" title="{{ lang.t('edit.link.title') }}"
class="md-icon md-content__icon">&#xE3C9;<!-- edit --></a> class="md-icon md-content__icon">&#xE3C9;<!-- edit --></a>
{%- endif -%} {% endif %}
<!-- <!--
Hack: check whether the content contains a h1 headline. If it Hack: check whether the content contains a h1 headline. If it
doesn't, the page title (or respectively site name) is used doesn't, the page title (or respectively site name) is used
as the main headline. as the main headline.
--> -->
{%- if not "\x3ch1" in page.content -%} {% if not "\x3ch1" in page.content %}
<h1>{{ page.title | default(config.site_name, true)}}</h1> <h1>{{ page.title | default(config.site_name, true)}}</h1>
{%- endif -%} {% endif %}
<!-- Content --> <!-- Content -->
{{ page.content }} {{ page.content }}
<!-- Source files --> <!-- Source files -->
{%- block source -%} {% block source %}
{%- if page and page.meta and page.meta.source -%} {% if page and page.meta and page.meta.source %}
<h2 id="__source">{{ lang.t("meta.source") }}</h2> <h2 id="__source">{{ lang.t("meta.source") }}</h2>
{%- set repo = config.repo_url -%} {% set repo = config.repo_url %}
{%- if repo | last == "/" -%} {% if repo | last == "/" %}
{%- set repo = repo[:-1] -%} {% set repo = repo[:-1] %}
{%- endif -%} {% endif %}
{%- set path = page.meta.path | default([""]) -%} {% set path = page.meta.path | default([""]) %}
{%- set file = page.meta.source -%} {% set file = page.meta.source %}
<a href="{{ [repo, path, file] | join('/') }}" <a href="{{ [repo, path, file] | join('/') }}"
title="{{ file }}" class="md-source-file"> title="{{ file }}" class="md-source-file">
{{ file }} {{ file }}
</a> </a>
{%- endif -%} {% endif %}
{%- endblock -%} {% endblock %}
{%- endblock -%} {% endblock %}
<!-- Disqus integration --> <!-- Disqus integration -->
{%- block disqus -%} {% block disqus %}
{%- include "partials/integrations/disqus.html" -%} {% include "partials/integrations/disqus.html" %}
{%- endblock -%} {% endblock %}
</article> </article>
</div> </div>
</div> </div>
</main> </main>
<!-- Application footer --> <!-- Application footer -->
{%- block footer -%} {% block footer %}
{%- include "partials/footer.html" -%} {% include "partials/footer.html" %}
{%- endblock -%} {% endblock %}
</div> </div>
<!-- Theme-related JavaScript --> <!-- Theme-related JavaScript -->
{%- block scripts -%} {% block scripts %}
<script src="{{ 'assets/javascripts/application.js' | url }}"></script> <script src="{{ 'assets/javascripts/application.js' | url }}"></script>
<!-- Load additional languages for search --> <!-- Load additional languages for search -->
{%- if lang.t("search.language") != "en" -%} {% if lang.t("search.language") != "en" %}
{%- set languages = lang.t("search.language").split(",") -%} {% set languages = lang.t("search.language").split(",") %}
{%- if languages | length and languages[0] != "" -%} {% if languages | length and languages[0] != "" %}
{%- set path = "assets/javascripts/lunr/" -%} {% set path = "assets/javascripts/lunr/" %}
<script src="{{ (path ~ 'lunr.stemmer.support.js') | url }}"></script> <script src="{{ (path ~ 'lunr.stemmer.support.js') | url }}"></script>
{%- for language in languages | map("trim") -%} {% for language in languages | map("trim") %}
{%- if language != "en" -%} {% if language != "en" %}
{%- if language == "ja" -%} {% if language == "ja" %}
<script src="{{ (path ~ 'tinyseg.js') | url }}"></script> <script src="{{ (path ~ 'tinyseg.js') | url }}"></script>
{%- endif -%} {% endif %}
{%- if language in ($md-lunr-languages$) -%} {% if language in ($md-lunr-languages$) %}
<script src="{{ (path ~ 'lunr.' ~ language ~ '.js') | url }}"> <script src="{{ (path ~ 'lunr.' ~ language ~ '.js') | url }}">
</script> </script>
{%- endif -%} {% endif %}
{%- endif -%} {% endif %}
{%- endfor -%} {% endfor %}
{%- if languages | length > 1 -%} {% if languages | length > 1 %}
<script src="{{ (path ~ 'lunr.multi.js') | url }}"></script> <script src="{{ (path ~ 'lunr.multi.js') | url }}"></script>
{%- endif -%} {% endif %}
{%- endif -%} {% endif %}
{%- endif -%} {% endif %}
<!-- Initialize application --> <!-- Initialize application -->
<script> <script>
@ -381,9 +381,9 @@
} }
}); });
</script> </script>
{%- for path in config["extra_javascript"] -%} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{%- endfor -%} {% endfor %}
{%- endblock -%} {% endblock %}
</body> </body>
</html> </html>

View File

@ -20,18 +20,18 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
{%- import "partials/language.html" as lang with context -%} {% import "partials/language.html" as lang with context %}
<!-- Application footer --> <!-- Application footer -->
<footer class="md-footer"> <footer class="md-footer">
<!-- Link to previous and/or next page --> <!-- Link to previous and/or next page -->
{%- if page.previous_page or page.next_page -%} {% if page.previous_page or page.next_page %}
<div class="md-footer-nav"> <div class="md-footer-nav">
<nav class="md-footer-nav__inner md-grid"> <nav class="md-footer-nav__inner md-grid">
<!-- Link to previous page --> <!-- Link to previous page -->
{%- if page.previous_page -%} {% if page.previous_page %}
<a href="{{ page.previous_page.url | url }}" <a href="{{ page.previous_page.url | url }}"
title="{{ page.previous_page.title }}" title="{{ page.previous_page.title }}"
class="md-flex md-footer-nav__link md-footer-nav__link--prev" class="md-flex md-footer-nav__link md-footer-nav__link--prev"
@ -50,10 +50,10 @@
</span> </span>
</div> </div>
</a> </a>
{%- endif -%} {% endif %}
<!-- Link to next page --> <!-- Link to next page -->
{%- if page.next_page -%} {% if page.next_page %}
<a href="{{ page.next_page.url | url }}" <a href="{{ page.next_page.url | url }}"
title="{{ page.next_page.title }}" title="{{ page.next_page.title }}"
class="md-flex md-footer-nav__link md-footer-nav__link--next" class="md-flex md-footer-nav__link md-footer-nav__link--next"
@ -72,10 +72,10 @@
md-footer-nav__button"></i> md-footer-nav__button"></i>
</div> </div>
</a> </a>
{%- endif -%} {% endif %}
</nav> </nav>
</div> </div>
{%- endif -%} {% endif %}
<!-- Further information --> <!-- Further information -->
<div class="md-footer-meta md-typeset"> <div class="md-footer-meta md-typeset">
@ -83,11 +83,11 @@
<!-- Copyright and theme information --> <!-- Copyright and theme information -->
<div class="md-footer-copyright"> <div class="md-footer-copyright">
{%- if config.copyright -%} {% if config.copyright %}
<div class="md-footer-copyright__highlight"> <div class="md-footer-copyright__highlight">
{{- config.copyright -}} {{- config.copyright -}}
</div> </div>
{%- endif -%} {% endif %}
powered by powered by
<a href="https://www.mkdocs.org">MkDocs</a> <a href="https://www.mkdocs.org">MkDocs</a>
and and
@ -96,7 +96,7 @@
</div> </div>
<!-- Social links --> <!-- Social links -->
{%- include "partials/social.html" -%} {% include "partials/social.html" %}
</div> </div>
</div> </div>
</footer> </footer>

View File

@ -32,11 +32,11 @@
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" <a href="{{ config.site_url | default(nav.homepage.url, true) | url }}"
title="{{ config.site_name }}" title="{{ config.site_name }}"
class="md-header-nav__button md-logo"> class="md-header-nav__button md-logo">
{%- if config.theme.logo.icon -%} {% if config.theme.logo.icon %}
<i class="md-icon">{{- config.theme.logo.icon -}}</i> <i class="md-icon">{{- config.theme.logo.icon -}}</i>
{%- else -%} {% else %}
<img src="{{ config.theme.logo | url }}" width="24" height="24" /> <img src="{{ config.theme.logo | url }}" width="24" height="24" />
{%- endif -%} {% endif %}
</a> </a>
</div> </div>
@ -50,42 +50,42 @@
<div class="md-flex__cell md-flex__cell--stretch"> <div class="md-flex__cell md-flex__cell--stretch">
<div class="md-flex__ellipsis md-header-nav__title" <div class="md-flex__ellipsis md-header-nav__title"
data-md-component="title"> data-md-component="title">
{%- if config.site_name == page.title -%} {% if config.site_name == page.title %}
{{ config.site_name }} {{ config.site_name }}
{%- else -%} {% else %}
<span class="md-header-nav__topic"> <span class="md-header-nav__topic">
{{- config.site_name -}} {{- config.site_name -}}
</span> </span>
<span class="md-header-nav__topic"> <span class="md-header-nav__topic">
{%- if page and page.meta and page.meta.title -%} {% if page and page.meta and page.meta.title %}
{{- page.meta.title -}} {{- page.meta.title -}}
{%- else -%} {% else %}
{{- page.title -}} {{- page.title -}}
{%- endif -%} {% endif %}
</span> </span>
{%- endif -%} {% endif %}
</div> </div>
</div> </div>
<!-- Button to open search dialogue --> <!-- Button to open search dialogue -->
<div class="md-flex__cell md-flex__cell--shrink"> <div class="md-flex__cell md-flex__cell--shrink">
{%- if "search" in config["plugins"] -%} {% if "search" in config["plugins"] %}
<label class="md-icon md-icon--search md-header-nav__button" <label class="md-icon md-icon--search md-header-nav__button"
for="__search"></label> for="__search"></label>
<!-- Search interface --> <!-- Search interface -->
{%- include "partials/search.html" -%} {% include "partials/search.html" %}
{%- endif -%} {% endif %}
</div> </div>
<!-- Repository containing source --> <!-- Repository containing source -->
{%- if config.repo_url -%} {% if config.repo_url %}
<div class="md-flex__cell md-flex__cell--shrink"> <div class="md-flex__cell md-flex__cell--shrink">
<div class="md-header-nav__source"> <div class="md-header-nav__source">
{%- include "partials/source.html" -%} {% include "partials/source.html" %}
</div> </div>
</div> </div>
{%- endif -%} {% endif %}
</div> </div>
</nav> </nav>
</header> </header>

View File

@ -21,13 +21,13 @@
--> -->
<!-- Theme options --> <!-- Theme options -->
{%- set feature = config.theme.feature -%} {% set feature = config.theme.feature %}
<!-- Determine class according to level --> <!-- Determine class according to level -->
{%- set class = "md-hero" -%} {% set class = "md-hero" %}
{%- if not feature.tabs -%} {% if not feature.tabs %}
{%- set class = "md-hero md-hero--expand" -%} {% set class = "md-hero md-hero--expand" %}
{%- endif -%} {% endif %}
<!-- Hero teaser --> <!-- Hero teaser -->
<div class="{{ class }}" data-md-component="hero"> <div class="{{ class }}" data-md-component="hero">

View File

@ -21,7 +21,7 @@
--> -->
<!-- Google Analytics integration --> <!-- Google Analytics integration -->
{%- set analytics = config.google_analytics -%} {% set analytics = config.google_analytics %}
<script type="text/javascript"> <script type="text/javascript">
window.ga = window.ga || function() { window.ga = window.ga || function() {
(ga.q = ga.q || []).push(arguments) (ga.q = ga.q || []).push(arguments)

View File

@ -21,13 +21,13 @@
--> -->
<!-- Set from config but allow override --> <!-- Set from config but allow override -->
{%- set disqus = config.extra.disqus -%} {% set disqus = config.extra.disqus %}
{%- if page and page.meta and page.meta.disqus is string -%} {% if page and page.meta and page.meta.disqus is string %}
{%- set disqus = page.meta.disqus -%} {% set disqus = page.meta.disqus %}
{%- endif -%} {% endif %}
<!-- Disqus integration --> <!-- Disqus integration -->
{%- if not page.is_homepage and disqus -%} {% if not page.is_homepage and disqus %}
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2> <h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
<script type="text/javascript"> <script type="text/javascript">
@ -43,4 +43,4 @@
(d.head || d.body).appendChild(s); (d.head || d.body).appendChild(s);
})(); })();
</script> </script>
{%- endif -%} {% endif %}

View File

@ -27,7 +27,7 @@
{% import "partials/language/en.html" as fallback %} {% import "partials/language/en.html" as fallback %}
<!-- Re-export translations --> <!-- Re-export translations -->
{% macro t(key) -%}{{ { {% macro t(key) %}{{ {
"direction": config.theme.direction, "direction": config.theme.direction,
"search.language": ( "search.language": (
config.extra.search | default({}) config.extra.search | default({})

View File

@ -21,23 +21,23 @@
--> -->
<!-- Determine class according to level --> <!-- Determine class according to level -->
{%- set class = "md-nav__item" -%} {% set class = "md-nav__item" %}
{%- if nav_item.active -%} {% if nav_item.active %}
{%- set class = "md-nav__item md-nav__item--active" -%} {% set class = "md-nav__item md-nav__item--active" %}
{%- endif -%} {% endif %}
<!-- Main navigation item with nested items --> <!-- Main navigation item with nested items -->
{%- if nav_item.children -%} {% if nav_item.children %}
<li class="{{ class }} md-nav__item--nested"> <li class="{{ class }} md-nav__item--nested">
<!-- Active checkbox expands items contained within nested section --> <!-- Active checkbox expands items contained within nested section -->
{%- if nav_item.active -%} {% if nav_item.active %}
<input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}" <input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}"
type="checkbox" id="{{ path }}" checked /> type="checkbox" id="{{ path }}" checked />
{%- else -%} {% else %}
<input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}" <input class="md-toggle md-nav__toggle" data-md-toggle="{{ path }}"
type="checkbox" id="{{ path }}" /> type="checkbox" id="{{ path }}" />
{%- endif -%} {% endif %}
<!-- Expand active pages --> <!-- Expand active pages -->
<label class="md-nav__link" for="{{ path }}"> <label class="md-nav__link" for="{{ path }}">
@ -51,53 +51,53 @@
<ul class="md-nav__list" data-md-scrollfix> <ul class="md-nav__list" data-md-scrollfix>
<!-- Render nested item list --> <!-- Render nested item list -->
{%- set base = path -%} {% set base = path %}
{%- for nav_item in nav_item.children -%} {% for nav_item in nav_item.children %}
{%- set path = base + "-" + loop.index | string -%} {% set path = base + "-" + loop.index | string %}
{%- set level = level + 1 -%} {% set level = level + 1 %}
{%- include "partials/nav-item.html" -%} {% include "partials/nav-item.html" %}
{%- endfor -%} {% endfor %}
</ul> </ul>
</nav> </nav>
</li> </li>
<!-- Currently active page --> <!-- Currently active page -->
{%- elif nav_item == page -%} {% elif nav_item == page %}
<li class="{{ class }}"> <li class="{{ class }}">
{%- set toc_ = page.toc -%} {% set toc_ = page.toc %}
<!-- Active checkbox expands items contained within nested section --> <!-- Active checkbox expands items contained within nested section -->
<input class="md-toggle md-nav__toggle" data-md-toggle="toc" <input class="md-toggle md-nav__toggle" data-md-toggle="toc"
type="checkbox" id="__toc" /> type="checkbox" id="__toc" />
<!-- Hack: see partials/toc.html for more information --> <!-- Hack: see partials/toc.html for more information -->
{%- if toc_ | first is defined and "\x3ch1 id=" in page.content -%} {% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{%- set toc_ = (toc_ | first).children -%} {% set toc_ = (toc_ | first).children %}
{%- endif -%} {% endif %}
<!-- Render table of contents, if not empty --> <!-- Render table of contents, if not empty -->
{%- if toc_ | first is defined -%} {% if toc_ | first is defined %}
<label class="md-nav__link md-nav__link--active" for="__toc"> <label class="md-nav__link md-nav__link--active" for="__toc">
{{- nav_item.title -}} {{- nav_item.title -}}
</label> </label>
{%- endif -%} {% endif %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" <a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}"
class="md-nav__link md-nav__link--active"> class="md-nav__link md-nav__link--active">
{{- nav_item.title -}} {{- nav_item.title -}}
</a> </a>
<!-- Show table of contents --> <!-- Show table of contents -->
{%- if toc_ | first is defined -%} {% if toc_ | first is defined %}
{%- include "partials/toc.html" -%} {% include "partials/toc.html" %}
{%- endif -%} {% endif %}
</li> </li>
<!-- Main navigation item --> <!-- Main navigation item -->
{%- else -%} {% else %}
<li class="{{ class }}"> <li class="{{ class }}">
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" <a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}"
class="md-nav__link"> class="md-nav__link">
{{- nav_item.title -}} {{- nav_item.title -}}
</a> </a>
</li> </li>
{%- endif -%} {% endif %}

View File

@ -27,28 +27,28 @@
<label class="md-nav__title md-nav__title--site" for="__drawer"> <label class="md-nav__title md-nav__title--site" for="__drawer">
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" <a href="{{ config.site_url | default(nav.homepage.url, true) | url }}"
title="{{ config.site_name }}" class="md-nav__button md-logo"> title="{{ config.site_name }}" class="md-nav__button md-logo">
{%- if config.theme.logo.icon -%} {% if config.theme.logo.icon %}
<i class="md-icon">{{- config.theme.logo.icon -}}</i> <i class="md-icon">{{- config.theme.logo.icon -}}</i>
{%- else -%} {% else %}
<img src="{{ config.theme.logo | url }}" width="48" height="48" /> <img src="{{ config.theme.logo | url }}" width="48" height="48" />
{%- endif -%} {% endif %}
</a> </a>
{{- config.site_name -}} {{- config.site_name -}}
</label> </label>
<!-- Repository containing source --> <!-- Repository containing source -->
{%- if config.repo_url -%} {% if config.repo_url %}
<div class="md-nav__source"> <div class="md-nav__source">
{%- include "partials/source.html" -%} {% include "partials/source.html" %}
</div> </div>
{%- endif -%} {% endif %}
<!-- Render item list --> <!-- Render item list -->
<ul class="md-nav__list" data-md-scrollfix> <ul class="md-nav__list" data-md-scrollfix>
{%- for nav_item in nav -%} {% for nav_item in nav %}
{%- set path = "nav-" + loop.index | string -%} {% set path = "nav-" + loop.index | string %}
{%- set level = 1 -%} {% set level = 1 %}
{%- include "partials/nav-item.html" -%} {% include "partials/nav-item.html" %}
{%- endfor -%} {% endfor %}
</ul> </ul>
</nav> </nav>

View File

@ -21,7 +21,7 @@
--> -->
<!-- Primary colors --> <!-- Primary colors -->
{%- macro primary(key) -%}{{- { {% macro primary(key) %}{{- {
"red": "#ef5350", "red": "#ef5350",
"pink": "#e91e63", "pink": "#e91e63",
"purple": "#ab47bc", "purple": "#ab47bc",
@ -41,10 +41,10 @@
"brown": "#795548", "brown": "#795548",
"grey": "#757575", "grey": "#757575",
"blue-grey": "#546e7a" "blue-grey": "#546e7a"
}[key] -}}{%- endmacro -%} }[key] -}}{% endmacro %}
<!-- Accent colors --> <!-- Accent colors -->
{%- macro accent(key) %}{{- { {% macro accent(key) %}{{- {
"red": "#ff1744", "red": "#ff1744",
"pink": "#f50057", "pink": "#f50057",
"purple": "#e040fb", "purple": "#e040fb",
@ -61,4 +61,4 @@
"amber": "#ffab00", "amber": "#ffab00",
"orange": "#ff9100", "orange": "#ff9100",
"deep-orange": "#ff6e40" "deep-orange": "#ff6e40"
}[key] -}}{%- endmacro -%} }[key] -}}{% endmacro %}

View File

@ -20,7 +20,7 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
{%- import "partials/language.html" as lang with context -%} {% import "partials/language.html" as lang with context %}
<!-- Search interface --> <!-- Search interface -->
<div class="md-search" data-md-component="search" role="dialog"> <div class="md-search" data-md-component="search" role="dialog">

View File

@ -21,13 +21,13 @@
--> -->
<!-- Social links in footer --> <!-- Social links in footer -->
{%- if config.extra.social -%} {% if config.extra.social %}
<div class="md-footer-social"> <div class="md-footer-social">
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="{{ 'assets/fonts/font-awesome.css' | url }}" /> href="{{ 'assets/fonts/font-awesome.css' | url }}" />
{%- for social in config.extra.social %} {% for social in config.extra.social %}
<a href="{{ social.link }}" class="md-footer-social__link <a href="{{ social.link }}" class="md-footer-social__link
fa fa-{{ social.type }}"></a> fa fa-{{ social.type }}"></a>
{% endfor -%} {% endfor %}
</div> </div>
{%- endif -%} {% endif %}

View File

@ -20,33 +20,33 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
{%- import "partials/language.html" as lang with context -%} {% import "partials/language.html" as lang with context %}
<!-- <!--
Check whether the repository is hosted on one of the supported code hosting Check whether the repository is hosted on one of the supported code hosting
platforms (GitHub, GitLab or Bitbucket) to show icon. platforms (GitHub, GitLab or Bitbucket) to show icon.
--> -->
{%- set platform = config.extra.repo_icon or config.repo_url -%} {% set platform = config.extra.repo_icon or config.repo_url %}
{%- if "github" in platform -%} {% if "github" in platform %}
{%- set repo_type = "github" -%} {% set repo_type = "github" %}
{%- elif "gitlab" in platform -%} {% elif "gitlab" in platform %}
{%- set repo_type = "gitlab" -%} {% set repo_type = "gitlab" %}
{%- elif "bitbucket" in platform -%} {% elif "bitbucket" in platform %}
{%- set repo_type = "bitbucket" -%} {% set repo_type = "bitbucket" %}
{%- else -%} {% else %}
{%- set repo_type = "" -%} {% set repo_type = "" %}
{%- endif -%} {% endif %}
<!-- Repository containing source --> <!-- Repository containing source -->
<a href="{{ config.repo_url }}" title="{{ lang.t('source.link.title') }}" <a href="{{ config.repo_url }}" title="{{ lang.t('source.link.title') }}"
class="md-source" data-md-source="{{ repo_type }}"> class="md-source" data-md-source="{{ repo_type }}">
{%- if repo_type -%} {% if repo_type %}
<div class="md-source__icon"> <div class="md-source__icon">
<svg viewBox="0 0 24 24" width="24" height="24"> <svg viewBox="0 0 24 24" width="24" height="24">
<use xlink:href="#__{{ repo_type }}" width="24" height="24"></use> <use xlink:href="#__{{ repo_type }}" width="24" height="24"></use>
</svg> </svg>
</div> </div>
{%- endif -%} {% endif %}
<div class="md-source__repository"> <div class="md-source__repository">
{{- config.repo_name -}} {{- config.repo_name -}}
</div> </div>

View File

@ -21,44 +21,44 @@
--> -->
<!-- Home page --> <!-- Home page -->
{%- if nav_item.is_homepage -%} {% if nav_item.is_homepage %}
<li class="md-tabs__item"> <li class="md-tabs__item">
{%- if not page.ancestors | length and nav | selectattr("url", page.url) -%} {% if not page.ancestors | length and nav | selectattr("url", page.url) %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" <a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}"
class="md-tabs__link md-tabs__link--active"> class="md-tabs__link md-tabs__link--active">
{{- nav_item.title -}} {{- nav_item.title -}}
</a> </a>
{%- else -%} {% else %}
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}" <a href="{{ nav_item.url | url }}" title="{{ nav_item.title }}"
class="md-tabs__link"> class="md-tabs__link">
{{- nav_item.title -}} {{- nav_item.title -}}
</a> </a>
{%- endif -%} {% endif %}
</li> </li>
<!-- Main navigation item with nested items --> <!-- Main navigation item with nested items -->
{%- elif nav_item.children and nav_item.children | length > 0 -%} {% elif nav_item.children and nav_item.children | length > 0 %}
{%- set title = title | default(nav_item.title) -%} {% set title = title | default(nav_item.title) %}
<!-- Recurse, if the first item has nested items --> <!-- Recurse, if the first item has nested items -->
{%- if (nav_item.children | first).children -%} {% if (nav_item.children | first).children %}
{%- set nav_item = nav_item.children | first -%} {% set nav_item = nav_item.children | first %}
{%- include "partials/tabs-item.html" -%} {% include "partials/tabs-item.html" %}
<!-- Render item --> <!-- Render item -->
{%- else -%} {% else %}
<li class="md-tabs__item"> <li class="md-tabs__item">
{%- if nav_item.active -%} {% if nav_item.active %}
<a href="{{ (nav_item.children | first).url | url }}" <a href="{{ (nav_item.children | first).url | url }}"
title="{{ title }}" class="md-tabs__link md-tabs__link--active"> title="{{ title }}" class="md-tabs__link md-tabs__link--active">
{{- title -}} {{- title -}}
</a> </a>
{%- else -%} {% else %}
<a href="{{ (nav_item.children | first).url | url }}" <a href="{{ (nav_item.children | first).url | url }}"
title="{{ title }}" class="md-tabs__link"> title="{{ title }}" class="md-tabs__link">
{{- title -}} {{- title -}}
</a> </a>
{%- endif -%} {% endif %}
</li> </li>
{%- endif -%} {% endif %}
{%- endif -%} {% endif %}

View File

@ -21,18 +21,18 @@
--> -->
<!-- Determine class according to level --> <!-- Determine class according to level -->
{%- set class = "md-tabs" -%} {% set class = "md-tabs" %}
{%- if page.ancestors | length > 0 -%} {% if page.ancestors | length > 0 %}
{%- set class = "md-tabs md-tabs--active" -%} {% set class = "md-tabs md-tabs--active" %}
{%- endif -%} {% endif %}
<!-- Tabs with outline --> <!-- Tabs with outline -->
<nav class="{{ class }}" data-md-component="tabs"> <nav class="{{ class }}" data-md-component="tabs">
<div class="md-tabs__inner md-grid"> <div class="md-tabs__inner md-grid">
<ul class="md-tabs__list"> <ul class="md-tabs__list">
{%- for nav_item in nav -%} {% for nav_item in nav %}
{%- include "partials/tabs-item.html" -%} {% include "partials/tabs-item.html" %}
{%- endfor -%} {% endfor %}
</ul> </ul>
</div> </div>
</nav> </nav>

View File

@ -28,12 +28,12 @@
</a> </a>
<!-- Render nested item list --> <!-- Render nested item list -->
{%- if toc_item.children -%} {% if toc_item.children %}
<nav class="md-nav"> <nav class="md-nav">
<ul class="md-nav__list"> <ul class="md-nav__list">
{%- for toc_item in toc_item.children -%} {% for toc_item in toc_item.children %}
{%- include "partials/toc-item.html" -%} {% include "partials/toc-item.html" %}
{%- endfor -%} {% endfor %}
</ul> </ul>
</nav> </nav>
{% endif %} {% endif %}

View File

@ -20,11 +20,11 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
{%- import "partials/language.html" as lang with context -%} {% import "partials/language.html" as lang with context %}
<!-- Table of contents --> <!-- Table of contents -->
<nav class="md-nav md-nav--secondary"> <nav class="md-nav md-nav--secondary">
{%- set toc_ = page.toc -%} {% set toc_ = page.toc %}
<!-- <!--
Hack: check whether the content contains a h1 headline. If it does, the Hack: check whether the content contains a h1 headline. If it does, the
@ -32,43 +32,43 @@
to the current page that is located just above the anchor. Therefore we to the current page that is located just above the anchor. Therefore we
directly continue with the children of the anchor. directly continue with the children of the anchor.
--> -->
{%- if toc_ | first is defined and "\x3ch1 id=" in page.content -%} {% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{%- set toc_ = (toc_ | first).children -%} {% set toc_ = (toc_ | first).children %}
{%- endif -%} {% endif %}
<!-- Render item list --> <!-- Render item list -->
{%- if toc_ | first is defined -%} {% if toc_ | first is defined %}
<label class="md-nav__title" for="__toc">{{- lang.t("toc.title") -}}</label> <label class="md-nav__title" for="__toc">{{- lang.t("toc.title") -}}</label>
<ul class="md-nav__list" data-md-scrollfix> <ul class="md-nav__list" data-md-scrollfix>
{%- for toc_item in toc_ -%} {% for toc_item in toc_ %}
{%- include "partials/toc-item.html" -%} {% include "partials/toc-item.html" %}
{%- endfor -%} {% endfor %}
<!-- Source files --> <!-- Source files -->
{%- if page.meta.source and page.meta.source | length > 0 -%} {% if page.meta.source and page.meta.source | length > 0 %}
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#__source" title="{{ lang.t('meta.source') }}" <a href="#__source" title="{{ lang.t('meta.source') }}"
class="md-nav__link md-nav__link--active"> class="md-nav__link md-nav__link--active">
{{- lang.t("meta.source") -}} {{- lang.t("meta.source") -}}
</a> </a>
</li> </li>
{%- endif -%} {% endif %}
<!-- Set from config but allow override --> <!-- Set from config but allow override -->
{%- set disqus = config.extra.disqus -%} {% set disqus = config.extra.disqus %}
{%- if page and page.meta and page.meta.disqus is string -%} {% if page and page.meta and page.meta.disqus is string %}
{%- set disqus = page.meta.disqus -%} {% set disqus = page.meta.disqus %}
{%- endif -%} {% endif %}
<!-- Disqus integration --> <!-- Disqus integration -->
{%- if not page.is_homepage and disqus -%} {% if not page.is_homepage and disqus %}
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#__comments" title="{{ lang.t('meta.comments') }}" <a href="#__comments" title="{{ lang.t('meta.comments') }}"
class="md-nav__link md-nav__link--active"> class="md-nav__link md-nav__link--active">
{{- lang.t("meta.comments") -}} {{- lang.t("meta.comments") -}}
</a> </a>
</li> </li>
{%- endif -%} {% endif %}
</ul> </ul>
{%- endif -%} {% endif %}
</nav> </nav>

View File

@ -205,9 +205,6 @@ module.exports = (_env, args) => { // eslint-disable-line complexity
"-#}\n" "-#}\n"
return banner + html.minify(content.toString(), { return banner + html.minify(content.toString(), {
collapseBooleanAttributes: true, collapseBooleanAttributes: true,
collapseWhitespace: true,
collapseInlineTagWhitespace: false,
conservativeCollapse: false,
includeAutoGeneratedTags: false, includeAutoGeneratedTags: false,
minifyCSS: true, minifyCSS: true,
minifyJS: true, minifyJS: true,