From 91f2289587c4340f1f8cb515ef3383ec9888757e Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 15 Jun 2019 15:16:14 +0200 Subject: [PATCH] Reverted template minification, added minification by plugin --- material/404.html | 5 +- material/base.html | 220 ++++++++++++++- material/main.html | 2 +- material/partials/footer.html | 57 +++- material/partials/header.html | 50 +++- material/partials/hero.html | 11 +- material/partials/integrations/analytics.html | 8 +- material/partials/integrations/disqus.html | 14 +- material/partials/language.html | 12 +- material/partials/language/ar.html | 23 +- material/partials/language/ca.html | 20 +- material/partials/language/cs.html | 20 +- material/partials/language/da.html | 20 +- material/partials/language/de.html | 20 +- material/partials/language/en.html | 24 +- material/partials/language/es.html | 20 +- material/partials/language/fa.html | 23 +- material/partials/language/fi.html | 20 +- material/partials/language/fr.html | 19 +- material/partials/language/gl.html | 20 +- material/partials/language/gr.html | 22 +- material/partials/language/he.html | 23 +- material/partials/language/hi.html | 22 +- material/partials/language/hr.html | 22 +- material/partials/language/hu.html | 20 +- material/partials/language/id.html | 22 +- material/partials/language/it.html | 20 +- material/partials/language/ja.html | 20 +- material/partials/language/kr.html | 19 +- material/partials/language/nl.html | 20 +- material/partials/language/nn.html | 20 +- material/partials/language/no.html | 20 +- material/partials/language/pl.html | 22 +- material/partials/language/pt.html | 20 +- material/partials/language/ru.html | 20 +- material/partials/language/sh.html | 20 +- material/partials/language/si.html | 20 +- material/partials/language/sk.html | 20 +- material/partials/language/sr.html | 22 +- material/partials/language/sv.html | 20 +- material/partials/language/tr.html | 19 +- material/partials/language/uk.html | 20 +- material/partials/language/vi.html | 19 +- material/partials/language/zh-Hant.html | 21 +- material/partials/language/zh-TW.html | 21 +- material/partials/language/zh.html | 21 +- material/partials/nav-item.html | 55 +++- material/partials/nav.html | 25 +- material/partials/palette.html | 40 ++- material/partials/search.html | 24 +- material/partials/social.html | 9 +- material/partials/source.html | 24 +- material/partials/tabs-item.html | 32 ++- material/partials/tabs.html | 14 +- material/partials/toc-item.html | 15 +- material/partials/toc.html | 34 ++- mkdocs.yml | 7 + requirements.txt | 1 + src/base.html | 250 +++++++++--------- src/partials/footer.html | 20 +- src/partials/header.html | 30 +-- src/partials/hero.html | 10 +- src/partials/integrations/analytics.html | 2 +- src/partials/integrations/disqus.html | 12 +- src/partials/language.html | 2 +- src/partials/nav-item.html | 52 ++-- src/partials/nav.html | 22 +- src/partials/palette.html | 8 +- src/partials/search.html | 2 +- src/partials/social.html | 8 +- src/partials/source.html | 26 +- src/partials/tabs-item.html | 30 +-- src/partials/tabs.html | 14 +- src/partials/toc-item.html | 8 +- src/partials/toc.html | 36 +-- webpack.config.js | 3 - 76 files changed, 1630 insertions(+), 328 deletions(-) diff --git a/material/404.html b/material/404.html index 7d760a11c..49c7d1648 100644 --- a/material/404.html +++ b/material/404.html @@ -1,4 +1,7 @@ {#- This file was automatically generated - do not edit -#} -{% extends "base.html" %} {% block content %}

404 - Not found

{% endblock %} \ No newline at end of file +{% extends "base.html" %} +{% block content %} +

404 - Not found

+{% endblock %} diff --git a/material/base.html b/material/base.html index 4c46d2eac..a3e297760 100644 --- a/material/base.html +++ b/material/base.html @@ -1,7 +1,223 @@ {#- 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 -%}{%- block site_meta -%}{%- if page and page.meta and page.meta.description -%}{%- elif config.site_description -%}{%- endif -%} {%- if page and page.meta and page.meta.redirect -%}{%- elif page.canonical_url -%}{%- endif -%} {%- if page and page.meta and page.meta.author -%}{%- elif 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" ] -%}{%- endfor -%}{%- endblock -%} {%- block htmltitle -%} {%- if page and page.meta and page.meta.title -%}{{ page.meta.title }}{%- elif page and page.title and not page.is_homepage -%}{{ page.title }} - {{ config.site_name }}{%- else -%}{{ config.site_name }}{%- endif -%} {%- endblock -%} {%- block styles -%}{%- if palette.primary or palette.accent -%}{%- endif -%} {%- if palette.primary -%} {%- import "partials/palette.html" as map -%} {%- set primary = map.primary( palette.primary | replace(" ", "-") | lower ) -%}{%- endif -%} {%- endblock -%} {%- block libs -%}{%- endblock -%} {%- block fonts -%} {%- if font != false -%} + + + {% block site_meta %} + + + + {% if page and page.meta and page.meta.description %} + + {% elif config.site_description %} + + {% endif %} + {% if page and page.meta and page.meta.redirect %} + + + + + {% elif page.canonical_url %} + + {% endif %} + {% if page and page.meta and page.meta.author %} + + {% elif 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" + ] %} + + {% endfor %} + + + {% endblock %} + {% block htmltitle %} + {% if page and page.meta and page.meta.title %} + {{ page.meta.title }} + {% elif page and page.title and not page.is_homepage %} + {{ page.title }} - {{ config.site_name }} + {% else %} + {{ config.site_name }} + {% endif %} + {% endblock %} + {% block styles %} + + {% if palette.primary or palette.accent %} + + {% endif %} + {% if palette.primary %} + {% import "partials/palette.html" as map %} + {% set primary = map.primary( + palette.primary | replace(" ", "-") | lower + ) %} + + {% endif %} + {% endblock %} + {% block libs %} + + {% endblock %} + {% block fonts %} + {% if font != false %} + + {%- endif -%} {%- endblock -%}{%- if config.extra.manifest -%}{%- endif -%} {%- for path in config["extra_css"] -%}{%- endfor -%} {%- block analytics -%} {%- if config.google_analytics -%} {%- include "partials/integrations/analytics.html" -%} {%- endif -%} {%- endblock -%} {%- block extrahead -%}{%- endblock -%}{%- if palette.primary or palette.accent -%} {%- set primary = palette.primary | replace(" ", "-") | lower -%} {%- set accent = palette.accent | replace(" ", "-") | lower -%}{%- else -%}{%- endif -%} {%- 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 -%} {%- if page.toc | first is defined -%} {{ lang.t('skip.link.title') }} {%- endif -%} {%- block header -%} {%- include "partials/header.html" -%} {%- endblock -%}
{%- 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 -%}
{%- block site_nav -%} {%- if nav -%}
{%- include "partials/nav.html" -%}
{%- endif -%} {%- if page.toc -%}
{%- include "partials/toc.html" -%}
{%- endif -%} {%- endblock -%}
{%- block content -%} {%- if page.edit_url -%} {%- endif -%} {%- if not "\x3ch1" in page.content -%}

{{ page.title | default(config.site_name, true)}}

{%- endif -%} {{ page.content }} {%- block source -%} {%- if page and page.meta and page.meta.source -%}

{{ lang.t("meta.source") }}

{%- set repo = config.repo_url -%} {%- if repo | last == "/" -%} {%- set repo = repo[:-1] -%} {%- endif -%} {%- set path = page.meta.path | default([""]) -%} {%- set file = page.meta.source -%} {{ file }} {%- endif -%} {%- endblock -%} {%- endblock -%} {%- block disqus -%} {%- include "partials/integrations/disqus.html" -%} {%- endblock -%}
{%- block footer -%} {%- include "partials/footer.html" -%} {%- endblock -%}
{%- block scripts -%}{%- if lang.t("search.language") != "en" -%} {%- set languages = lang.t("search.language").split(",") -%} {%- if languages | length and languages[0] != "" -%} {%- set path = "assets/javascripts/lunr/" -%}{%- for language in languages | map("trim") -%} {%- if language != "en" -%} {%- if language == "ja" -%}{%- endif -%} {%- if language in ("da", "de", "es", "fi", "fr", "hu", "it", "ja", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr") -%}{%- endif -%} {%- endif -%} {%- endfor -%} {%- if languages | length > 1 -%}{%- endif -%} {%- endif -%} {%- endif -%}{%- for path in config["extra_javascript"] -%}{%- endfor -%} {%- endblock -%} \ No newline at end of file + }}&display=fallback"> + + {% endif %} + {% endblock %} + + {% if config.extra.manifest %} + + {% endif %} + {% for path in config["extra_css"] %} + + {% endfor %} + {% block analytics %} + {% if config.google_analytics %} + {% include "partials/integrations/analytics.html" %} + {% endif %} + {% endblock %} + {% block extrahead %}{% endblock %} + + {% if palette.primary or palette.accent %} + {% set primary = palette.primary | replace(" ", "-") | lower %} + {% set accent = palette.accent | replace(" ", "-") | lower %} + + {% else %} + + {% endif %} + + + {% 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 %} + + + + + + {% if page.toc | first is defined %} + + {{ lang.t('skip.link.title') }} + + {% endif %} + {% block header %} + {% include "partials/header.html" %} + {% endblock %} +
+ {% 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 %} +
+
+ {% block site_nav %} + {% if nav %} +
+
+
+ {% include "partials/nav.html" %} +
+
+
+ {% endif %} + {% if page.toc %} +
+
+
+ {% include "partials/toc.html" %} +
+
+
+ {% endif %} + {% endblock %} +
+
+ {% block content %} + {% if page.edit_url %} + + {% endif %} + {% if not "\x3ch1" in page.content %} +

{{ page.title | default(config.site_name, true)}}

+ {% endif %} + {{ page.content }} + {% block source %} + {% if page and page.meta and page.meta.source %} +

{{ lang.t("meta.source") }}

+ {% set repo = config.repo_url %} + {% if repo | last == "/" %} + {% set repo = repo[:-1] %} + {% endif %} + {% set path = page.meta.path | default([""]) %} + {% set file = page.meta.source %} + + {{ file }} + + {% endif %} + {% endblock %} + {% endblock %} + {% block disqus %} + {% include "partials/integrations/disqus.html" %} + {% endblock %} +
+
+
+
+ {% block footer %} + {% include "partials/footer.html" %} + {% endblock %} +
+ {% block scripts %} + + {% if lang.t("search.language") != "en" %} + {% set languages = lang.t("search.language").split(",") %} + {% if languages | length and languages[0] != "" %} + {% set path = "assets/javascripts/lunr/" %} + + {% for language in languages | map("trim") %} + {% if language != "en" %} + {% if language == "ja" %} + + {% endif %} + {% if language in ("da", "de", "es", "fi", "fr", "hu", "it", "ja", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr") %} + + {% endif %} + {% endif %} + {% endfor %} + {% if languages | length > 1 %} + + {% endif %} + {% endif %} + {% endif %} + + {% for path in config["extra_javascript"] %} + + {% endfor %} + {% endblock %} + + diff --git a/material/main.html b/material/main.html index 337fb8d25..094a197b0 100644 --- a/material/main.html +++ b/material/main.html @@ -1,4 +1,4 @@ {#- This file was automatically generated - do not edit -#} -{% extends "base.html" %} \ No newline at end of file +{% extends "base.html" %} diff --git a/material/partials/footer.html b/material/partials/footer.html index 773b3715f..c0f7231f7 100644 --- a/material/partials/footer.html +++ b/material/partials/footer.html @@ -1,4 +1,59 @@ {#- This file was automatically generated - do not edit -#} -{%- import "partials/language.html" as lang with context -%} \ No newline at end of file +{% import "partials/language.html" as lang with context %} + diff --git a/material/partials/header.html b/material/partials/header.html index a36024286..4a66c7794 100644 --- a/material/partials/header.html +++ b/material/partials/header.html @@ -1,4 +1,52 @@ {#- This file was automatically generated - do not edit -#} -
\ No newline at end of file +
+ +
diff --git a/material/partials/hero.html b/material/partials/hero.html index 50afa947e..ea04c11ea 100644 --- a/material/partials/hero.html +++ b/material/partials/hero.html @@ -1,4 +1,13 @@ {#- 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 -%}
{{- page.meta.hero -}}
\ No newline at end of file +{% set feature = config.theme.feature %} +{% set class = "md-hero" %} +{% if not feature.tabs %} + {% set class = "md-hero md-hero--expand" %} +{% endif %} +
+
+ {{- page.meta.hero -}} +
+
diff --git a/material/partials/integrations/analytics.html b/material/partials/integrations/analytics.html index 7cedef33a..1193c01ff 100644 --- a/material/partials/integrations/analytics.html +++ b/material/partials/integrations/analytics.html @@ -1,7 +1,9 @@ {#- This file was automatically generated - do not edit -#} -{%- set analytics = config.google_analytics -%} \ No newline at end of file + }) + + diff --git a/material/partials/integrations/disqus.html b/material/partials/integrations/disqus.html index fb30c0d4a..8135c7098 100644 --- a/material/partials/integrations/disqus.html +++ b/material/partials/integrations/disqus.html @@ -1,7 +1,15 @@ {#- 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 -%}

{{ lang.t("meta.comments") }}

{%- endif -%} \ No newline at end of file + })(); + +{% endif %} diff --git a/material/partials/language.html b/material/partials/language.html index bcebd064b..d0314ffc9 100644 --- a/material/partials/language.html +++ b/material/partials/language.html @@ -1,4 +1,14 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/ar.html b/material/partials/language/ar.html index 552dfe524..89cc00ac1 100644 --- a/material/partials/language/ar.html +++ b/material/partials/language/ar.html @@ -1,4 +1,25 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/ca.html b/material/partials/language/ca.html index 1a443bd1f..d57fb547d 100644 --- a/material/partials/language/ca.html +++ b/material/partials/language/ca.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/cs.html b/material/partials/language/cs.html index 52c99710b..adb42b2f6 100644 --- a/material/partials/language/cs.html +++ b/material/partials/language/cs.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/da.html b/material/partials/language/da.html index 361544247..9cd8b647b 100644 --- a/material/partials/language/da.html +++ b/material/partials/language/da.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/de.html b/material/partials/language/de.html index 7db102d97..af7f4d7df 100644 --- a/material/partials/language/de.html +++ b/material/partials/language/de.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/en.html b/material/partials/language/en.html index e58b749d0..4f4152bc2 100644 --- a/material/partials/language/en.html +++ b/material/partials/language/en.html @@ -1,4 +1,26 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/es.html b/material/partials/language/es.html index 848411485..9a4e47b19 100644 --- a/material/partials/language/es.html +++ b/material/partials/language/es.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/fa.html b/material/partials/language/fa.html index 67a2e62da..8b49fb0ce 100644 --- a/material/partials/language/fa.html +++ b/material/partials/language/fa.html @@ -1,4 +1,25 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/fi.html b/material/partials/language/fi.html index 5545c75a4..6eb6ab8e9 100644 --- a/material/partials/language/fi.html +++ b/material/partials/language/fi.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/fr.html b/material/partials/language/fr.html index 14534bcee..3a1a26bc3 100644 --- a/material/partials/language/fr.html +++ b/material/partials/language/fr.html @@ -1,4 +1,21 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/gl.html b/material/partials/language/gl.html index 553c4d626..30228e4bc 100644 --- a/material/partials/language/gl.html +++ b/material/partials/language/gl.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/gr.html b/material/partials/language/gr.html index eaef41adb..f666ed471 100644 --- a/material/partials/language/gr.html +++ b/material/partials/language/gr.html @@ -1,4 +1,24 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/he.html b/material/partials/language/he.html index 6fc8fb9f7..464d01c16 100644 --- a/material/partials/language/he.html +++ b/material/partials/language/he.html @@ -1,4 +1,25 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/hi.html b/material/partials/language/hi.html index 2361db46c..b3862bbad 100644 --- a/material/partials/language/hi.html +++ b/material/partials/language/hi.html @@ -1,4 +1,24 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/hr.html b/material/partials/language/hr.html index eb8d4d987..a4d4aef24 100644 --- a/material/partials/language/hr.html +++ b/material/partials/language/hr.html @@ -1,4 +1,24 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/hu.html b/material/partials/language/hu.html index c2f5d2923..6d51db85b 100644 --- a/material/partials/language/hu.html +++ b/material/partials/language/hu.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/id.html b/material/partials/language/id.html index 38f2592f8..63bf5d7f9 100644 --- a/material/partials/language/id.html +++ b/material/partials/language/id.html @@ -1,4 +1,24 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/it.html b/material/partials/language/it.html index 8eaa2627d..ccd4cef8e 100644 --- a/material/partials/language/it.html +++ b/material/partials/language/it.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/ja.html b/material/partials/language/ja.html index 5c081010b..58669e891 100644 --- a/material/partials/language/ja.html +++ b/material/partials/language/ja.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/kr.html b/material/partials/language/kr.html index 96719be8c..7dd4b431b 100644 --- a/material/partials/language/kr.html +++ b/material/partials/language/kr.html @@ -1,4 +1,21 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/nl.html b/material/partials/language/nl.html index 0a7d0ab4b..370a96a9c 100644 --- a/material/partials/language/nl.html +++ b/material/partials/language/nl.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/nn.html b/material/partials/language/nn.html index ca861d18a..b1b928149 100644 --- a/material/partials/language/nn.html +++ b/material/partials/language/nn.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/no.html b/material/partials/language/no.html index 22f350a1e..bf9c8c8d3 100644 --- a/material/partials/language/no.html +++ b/material/partials/language/no.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/pl.html b/material/partials/language/pl.html index 53d73a7f1..75c641c3a 100644 --- a/material/partials/language/pl.html +++ b/material/partials/language/pl.html @@ -1,4 +1,24 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/pt.html b/material/partials/language/pt.html index 545ccbfba..b9ec0796c 100644 --- a/material/partials/language/pt.html +++ b/material/partials/language/pt.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/ru.html b/material/partials/language/ru.html index 9137a0f9f..20d0dfef7 100644 --- a/material/partials/language/ru.html +++ b/material/partials/language/ru.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/sh.html b/material/partials/language/sh.html index 7366af2dd..6ae034b27 100644 --- a/material/partials/language/sh.html +++ b/material/partials/language/sh.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/si.html b/material/partials/language/si.html index b10f886e9..61dedd040 100644 --- a/material/partials/language/si.html +++ b/material/partials/language/si.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/sk.html b/material/partials/language/sk.html index 869432b6d..0b115fc56 100644 --- a/material/partials/language/sk.html +++ b/material/partials/language/sk.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/sr.html b/material/partials/language/sr.html index 9d9333bee..cb0dac406 100644 --- a/material/partials/language/sr.html +++ b/material/partials/language/sr.html @@ -1,4 +1,24 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/sv.html b/material/partials/language/sv.html index fd6a7ba39..51e3f718d 100644 --- a/material/partials/language/sv.html +++ b/material/partials/language/sv.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/tr.html b/material/partials/language/tr.html index 6e2f158be..929e7b889 100644 --- a/material/partials/language/tr.html +++ b/material/partials/language/tr.html @@ -1,4 +1,21 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/uk.html b/material/partials/language/uk.html index 57e6607aa..491d62bee 100644 --- a/material/partials/language/uk.html +++ b/material/partials/language/uk.html @@ -1,4 +1,22 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/vi.html b/material/partials/language/vi.html index 1c49d1ed1..c4172ab04 100644 --- a/material/partials/language/vi.html +++ b/material/partials/language/vi.html @@ -1,4 +1,21 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/zh-Hant.html b/material/partials/language/zh-Hant.html index ca11722ec..9c557a0a1 100644 --- a/material/partials/language/zh-Hant.html +++ b/material/partials/language/zh-Hant.html @@ -1,4 +1,23 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/zh-TW.html b/material/partials/language/zh-TW.html index 6269f9654..ae7a2f24f 100644 --- a/material/partials/language/zh-TW.html +++ b/material/partials/language/zh-TW.html @@ -1,4 +1,23 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/language/zh.html b/material/partials/language/zh.html index 6a447f854..68d572b17 100644 --- a/material/partials/language/zh.html +++ b/material/partials/language/zh.html @@ -1,4 +1,23 @@ {#- 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 %} \ No newline at end of file +{% 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 %} diff --git a/material/partials/nav-item.html b/material/partials/nav-item.html index 01896a635..fdd21eae8 100644 --- a/material/partials/nav-item.html +++ b/material/partials/nav-item.html @@ -1,4 +1,57 @@ {#- 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 -%}
  • {%- if nav_item.active -%} {%- else -%} {%- endif -%}
  • {%- elif nav_item == page -%}
  • {%- 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 -%} {%- endif -%} {{- nav_item.title -}} {%- if toc_ | first is defined -%} {%- include "partials/toc.html" -%} {%- endif -%}
  • {%- else -%}
  • {{- nav_item.title -}}
  • {%- endif -%} \ No newline at end of file +{% set class = "md-nav__item" %} +{% if nav_item.active %} + {% set class = "md-nav__item md-nav__item--active" %} +{% endif %} +{% if nav_item.children %} +
  • + {% if nav_item.active %} + + {% else %} + + {% endif %} + + +
  • +{% elif nav_item == page %} +
  • + {% 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 %} + + {% endif %} + + {{- nav_item.title -}} + + {% if toc_ | first is defined %} + {% include "partials/toc.html" %} + {% endif %} +
  • +{% else %} +
  • + + {{- nav_item.title -}} + +
  • +{% endif %} diff --git a/material/partials/nav.html b/material/partials/nav.html index 2838b2ecf..89b9b6831 100644 --- a/material/partials/nav.html +++ b/material/partials/nav.html @@ -1,4 +1,27 @@ {#- This file was automatically generated - do not edit -#} - \ No newline at end of file + diff --git a/material/partials/palette.html b/material/partials/palette.html index c366a93b4..36af79b7b 100644 --- a/material/partials/palette.html +++ b/material/partials/palette.html @@ -1,4 +1,42 @@ {#- 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 -%} \ No newline at end of file +{% 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 %} diff --git a/material/partials/search.html b/material/partials/search.html index 67a7e8a10..aa0cd04e8 100644 --- a/material/partials/search.html +++ b/material/partials/search.html @@ -1,4 +1,26 @@ {#- This file was automatically generated - do not edit -#} -{%- import "partials/language.html" as lang with context -%} \ No newline at end of file +{% import "partials/language.html" as lang with context %} + diff --git a/material/partials/social.html b/material/partials/social.html index d57ecc72c..7609e434c 100644 --- a/material/partials/social.html +++ b/material/partials/social.html @@ -1,4 +1,11 @@ {#- This file was automatically generated - do not edit -#} -{%- if config.extra.social -%}{%- endif -%} \ No newline at end of file +{% if config.extra.social %} + +{% endif %} diff --git a/material/partials/source.html b/material/partials/source.html index 6c20b364c..a4ee290b3 100644 --- a/material/partials/source.html +++ b/material/partials/source.html @@ -1,4 +1,26 @@ {#- 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 -%} {%- if repo_type -%}
    {%- endif -%}
    {{- config.repo_name -}}
    \ No newline at end of file +{% 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 %} + + {% if repo_type %} +
    + + + +
    + {% endif %} +
    + {{- config.repo_name -}} +
    +
    diff --git a/material/partials/tabs-item.html b/material/partials/tabs-item.html index c54534ede..0a1d40d8e 100644 --- a/material/partials/tabs-item.html +++ b/material/partials/tabs-item.html @@ -1,4 +1,34 @@ {#- This file was automatically generated - do not edit -#} -{%- if nav_item.is_homepage -%}
  • {%- if not page.ancestors | length and nav | selectattr("url", page.url) -%} {{- nav_item.title -}} {%- else -%} {{- nav_item.title -}} {%- endif -%}
  • {%- 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 -%}
  • {%- if nav_item.active -%} {{- title -}} {%- else -%} {{- title -}} {%- endif -%}
  • {%- endif -%} {%- endif -%} \ No newline at end of file +{% if nav_item.is_homepage %} +
  • + {% if not page.ancestors | length and nav | selectattr("url", page.url) %} + + {{- nav_item.title -}} + + {% else %} + + {{- nav_item.title -}} + + {% endif %} +
  • +{% 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 %} +
  • + {% if nav_item.active %} + + {{- title -}} + + {% else %} + + {{- title -}} + + {% endif %} +
  • + {% endif %} +{% endif %} diff --git a/material/partials/tabs.html b/material/partials/tabs.html index fa7087e18..299e8a029 100644 --- a/material/partials/tabs.html +++ b/material/partials/tabs.html @@ -1,4 +1,16 @@ {#- 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 -%} \ No newline at end of file +{% set class = "md-tabs" %} +{% if page.ancestors | length > 0 %} + {% set class = "md-tabs md-tabs--active" %} +{% endif %} + diff --git a/material/partials/toc-item.html b/material/partials/toc-item.html index 733f15728..aa7cb8aa1 100644 --- a/material/partials/toc-item.html +++ b/material/partials/toc-item.html @@ -1,4 +1,17 @@ {#- This file was automatically generated - do not edit -#} -
  • {{- toc_item.title -}} {%- if toc_item.children -%}{% endif %}
  • \ No newline at end of file +
  • + + {{- toc_item.title -}} + + {% if toc_item.children %} + + {% endif %} +
  • diff --git a/material/partials/toc.html b/material/partials/toc.html index 9fb76a00e..6274cf800 100644 --- a/material/partials/toc.html +++ b/material/partials/toc.html @@ -1,4 +1,36 @@ {#- This file was automatically generated - do not edit -#} -{%- import "partials/language.html" as lang with context -%} \ No newline at end of file +{% import "partials/language.html" as lang with context %} + diff --git a/mkdocs.yml b/mkdocs.yml index 4ad07bed1..dcefb7b23 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -59,6 +59,13 @@ theme: logo: icon: "\uE80C" +# Plugins +plugins: + - search + - minify: + minify_html: true + minify_js: true + # Customization extra: social: diff --git a/requirements.txt b/requirements.txt index cdea2fde1..0e303c2e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,5 +20,6 @@ # Direct dependencies mkdocs>=1 +mkdocs-minify-plugin>=0.2 Pygments>=2.2 pymdown-extensions>=4.11 diff --git a/src/base.html b/src/base.html index 61e8510d3..f2b5bf973 100644 --- a/src/base.html +++ b/src/base.html @@ -20,19 +20,19 @@ IN THE SOFTWARE. --> -{%- import "partials/language.html" as lang with context -%} +{% import "partials/language.html" as lang with context %} -{%- set feature = config.theme.feature -%} -{%- set palette = config.theme.palette -%} -{%- set font = config.theme.font -%} +{% set feature = config.theme.feature %} +{% set palette = config.theme.palette %} +{% set font = config.theme.font %} - {%- block site_meta -%} + {% block site_meta %} @@ -40,15 +40,15 @@ - {%- if page and page.meta and page.meta.description -%} + {% if page and page.meta and page.meta.description %} - {%- elif config.site_description -%} + {% elif config.site_description %} - {%- endif -%} + {% endif %} - {%- if page and page.meta and page.meta.redirect -%} + {% if page and page.meta and page.meta.redirect %} - {%- endblock -%} + {% endblock %} - {%- block fonts -%} + {% block fonts %} - {%- if font != false -%} + {% if font != false %} - {%- if config.extra.manifest -%} + {% if config.extra.manifest %} - {%- endif -%} + {% endif %} - {%- for path in config["extra_css"] -%} + {% for path in config["extra_css"] %} - {%- endfor -%} + {% endfor %} - {%- block analytics -%} - {%- if config.google_analytics -%} - {%- include "partials/integrations/analytics.html" -%} - {%- endif -%} - {%- endblock -%} + {% block analytics %} + {% if config.google_analytics %} + {% include "partials/integrations/analytics.html" %} + {% endif %} + {% endblock %} - {%- block extrahead -%}{%- endblock -%} + {% block extrahead %}{% endblock %} - {%- if palette.primary or palette.accent -%} - {%- set primary = palette.primary | replace(" ", "-") | lower -%} - {%- set accent = palette.accent | replace(" ", "-") | lower -%} + {% if palette.primary or palette.accent %} + {% set primary = palette.primary | replace(" ", "-") | lower %} + {% set accent = palette.accent | replace(" ", "-") | lower %} - {%- else -%} + {% else %} - {%- endif -%} + {% endif %} @@ -203,14 +203,14 @@ Check whether the repository is hosted on one of the supported code hosting platforms (GitHub, GitLab or Bitbucket) to show icon. --> - {%- set platform = config.extra.repo_icon or config.repo_url -%} - {%- if "github" in platform -%} - {%- include "assets/images/icons/github.svg" -%} - {%- elif "gitlab" in platform -%} - {%- include "assets/images/icons/gitlab.svg" -%} - {%- elif "bitbucket" in platform -%} - {%- include "assets/images/icons/bitbucket.svg" -%} - {%- endif -%} + {% set platform = config.extra.repo_icon or config.repo_url %} + {% if "github" in platform %} + {% include "assets/images/icons/github.svg" %} + {% elif "gitlab" in platform %} + {% include "assets/images/icons/gitlab.svg" %} + {% elif "bitbucket" in platform %} + {% include "assets/images/icons/bitbucket.svg" %} + {% endif %} @@ -227,150 +227,150 @@ - {%- if page.toc | first is defined -%} + {% if page.toc | first is defined %} {{ lang.t('skip.link.title') }} - {%- endif -%} + {% endif %} - {%- block header -%} - {%- include "partials/header.html" -%} - {%- endblock -%} + {% block header %} + {% include "partials/header.html" %} + {% endblock %}
    - {%- block hero -%} - {%- if page and page.meta and page.meta.hero -%} - {%- include "partials/hero.html" with context -%} - {%- endif -%} - {%- endblock -%} + {% 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 -%} + {% if feature.tabs %} + {% include "partials/tabs.html" %} + {% endif %}
    - {%- block site_nav -%} + {% block site_nav %} - {%- if nav -%} + {% if nav %}
    - {%- include "partials/nav.html" -%} + {% include "partials/nav.html" %}
    - {%- endif -%} + {% endif %} - {%- if page.toc -%} + {% if page.toc %}
    - {%- include "partials/toc.html" -%} + {% include "partials/toc.html" %}
    - {%- endif -%} - {%- endblock -%} + {% endif %} + {% endblock %}
    - {%- block content -%} + {% block content %} - {%- if page.edit_url -%} + {% if page.edit_url %} - {%- endif -%} + {% endif %} - {%- if not "\x3ch1" in page.content -%} + {% if not "\x3ch1" in page.content %}

    {{ page.title | default(config.site_name, true)}}

    - {%- endif -%} + {% endif %} {{ page.content }} - {%- block source -%} - {%- if page and page.meta and page.meta.source -%} + {% block source %} + {% if page and page.meta and page.meta.source %}

    {{ lang.t("meta.source") }}

    - {%- set repo = config.repo_url -%} - {%- if repo | last == "/" -%} - {%- set repo = repo[:-1] -%} - {%- endif -%} - {%- set path = page.meta.path | default([""]) -%} - {%- set file = page.meta.source -%} + {% set repo = config.repo_url %} + {% if repo | last == "/" %} + {% set repo = repo[:-1] %} + {% endif %} + {% set path = page.meta.path | default([""]) %} + {% set file = page.meta.source %} {{ file }} - {%- endif -%} - {%- endblock -%} - {%- endblock -%} + {% endif %} + {% endblock %} + {% endblock %} - {%- block disqus -%} - {%- include "partials/integrations/disqus.html" -%} - {%- endblock -%} + {% block disqus %} + {% include "partials/integrations/disqus.html" %} + {% endblock %}
    - {%- block footer -%} - {%- include "partials/footer.html" -%} - {%- endblock -%} + {% block footer %} + {% include "partials/footer.html" %} + {% endblock %}
    - {%- block scripts -%} + {% block scripts %} - {%- if lang.t("search.language") != "en" -%} - {%- set languages = lang.t("search.language").split(",") -%} - {%- if languages | length and languages[0] != "" -%} - {%- set path = "assets/javascripts/lunr/" -%} + {% if lang.t("search.language") != "en" %} + {% set languages = lang.t("search.language").split(",") %} + {% if languages | length and languages[0] != "" %} + {% set path = "assets/javascripts/lunr/" %} - {%- for language in languages | map("trim") -%} - {%- if language != "en" -%} - {%- if language == "ja" -%} + {% for language in languages | map("trim") %} + {% if language != "en" %} + {% if language == "ja" %} - {%- endif -%} - {%- if language in ($md-lunr-languages$) -%} + {% endif %} + {% if language in ($md-lunr-languages$) %} - {%- endif -%} - {%- endif -%} - {%- endfor -%} - {%- if languages | length > 1 -%} + {% endif %} + {% endif %} + {% endfor %} + {% if languages | length > 1 %} - {%- endif -%} - {%- endif -%} - {%- endif -%} + {% endif %} + {% endif %} + {% endif %} - {%- for path in config["extra_javascript"] -%} + {% for path in config["extra_javascript"] %} - {%- endfor -%} - {%- endblock -%} + {% endfor %} + {% endblock %} diff --git a/src/partials/footer.html b/src/partials/footer.html index a4b3aaa89..8c4ba7c5d 100644 --- a/src/partials/footer.html +++ b/src/partials/footer.html @@ -20,18 +20,18 @@ IN THE SOFTWARE. --> -{%- import "partials/language.html" as lang with context -%} +{% import "partials/language.html" as lang with context %} diff --git a/src/partials/header.html b/src/partials/header.html index a67723db6..700e4ef98 100644 --- a/src/partials/header.html +++ b/src/partials/header.html @@ -32,11 +32,11 @@ @@ -50,42 +50,42 @@
    - {%- if config.site_name == page.title -%} + {% if config.site_name == page.title %} {{ config.site_name }} - {%- else -%} + {% else %} {{- config.site_name -}} - {%- if page and page.meta and page.meta.title -%} + {% if page and page.meta and page.meta.title %} {{- page.meta.title -}} - {%- else -%} + {% else %} {{- page.title -}} - {%- endif -%} + {% endif %} - {%- endif -%} + {% endif %}
    - {%- if "search" in config["plugins"] -%} + {% if "search" in config["plugins"] %} - {%- include "partials/search.html" -%} - {%- endif -%} + {% include "partials/search.html" %} + {% endif %}
    - {%- if config.repo_url -%} + {% if config.repo_url %}
    - {%- include "partials/source.html" -%} + {% include "partials/source.html" %}
    - {%- endif -%} + {% endif %} diff --git a/src/partials/hero.html b/src/partials/hero.html index b31a358a7..546b3f22c 100644 --- a/src/partials/hero.html +++ b/src/partials/hero.html @@ -21,13 +21,13 @@ --> -{%- set feature = config.theme.feature -%} +{% set feature = config.theme.feature %} -{%- set class = "md-hero" -%} -{%- if not feature.tabs -%} - {%- set class = "md-hero md-hero--expand" -%} -{%- endif -%} +{% set class = "md-hero" %} +{% if not feature.tabs %} + {% set class = "md-hero md-hero--expand" %} +{% endif %}
    diff --git a/src/partials/integrations/analytics.html b/src/partials/integrations/analytics.html index 59cdf13a4..f89b3d346 100644 --- a/src/partials/integrations/analytics.html +++ b/src/partials/integrations/analytics.html @@ -21,7 +21,7 @@ --> -{%- set analytics = config.google_analytics -%} +{% set analytics = config.google_analytics %} -{%- endif -%} +{% endif %} diff --git a/src/partials/language.html b/src/partials/language.html index da4e1ccde..3bb83f0bf 100644 --- a/src/partials/language.html +++ b/src/partials/language.html @@ -27,7 +27,7 @@ {% import "partials/language/en.html" as fallback %} -{% macro t(key) -%}{{ { +{% macro t(key) %}{{ { "direction": config.theme.direction, "search.language": ( config.extra.search | default({}) diff --git a/src/partials/nav-item.html b/src/partials/nav-item.html index 8a746cdf7..09c8e7139 100644 --- a/src/partials/nav-item.html +++ b/src/partials/nav-item.html @@ -21,23 +21,23 @@ --> -{%- set class = "md-nav__item" -%} -{%- if nav_item.active -%} - {%- set class = "md-nav__item md-nav__item--active" -%} -{%- endif -%} +{% set class = "md-nav__item" %} +{% if nav_item.active %} + {% set class = "md-nav__item md-nav__item--active" %} +{% endif %} -{%- if nav_item.children -%} +{% if nav_item.children %}
  • - {%- if nav_item.active -%} + {% if nav_item.active %} - {%- else -%} + {% else %} - {%- endif -%} + {% endif %}
  • -{%- elif nav_item == page -%} +{% elif nav_item == page %}
  • - {%- set toc_ = page.toc -%} + {% 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 and "\x3ch1 id=" in page.content %} + {% set toc_ = (toc_ | first).children %} + {% endif %} - {%- if toc_ | first is defined -%} + {% if toc_ | first is defined %} - {%- endif -%} + {% endif %} {{- nav_item.title -}} - {%- if toc_ | first is defined -%} - {%- include "partials/toc.html" -%} - {%- endif -%} + {% if toc_ | first is defined %} + {% include "partials/toc.html" %} + {% endif %}
  • -{%- else -%} +{% else %}
  • {{- nav_item.title -}}
  • -{%- endif -%} +{% endif %} diff --git a/src/partials/nav.html b/src/partials/nav.html index 740aaeb56..4cc22b105 100644 --- a/src/partials/nav.html +++ b/src/partials/nav.html @@ -27,28 +27,28 @@ - {%- if config.repo_url -%} + {% if config.repo_url %}
    - {%- include "partials/source.html" -%} + {% include "partials/source.html" %}
    - {%- endif -%} + {% endif %} diff --git a/src/partials/palette.html b/src/partials/palette.html index a90a08c80..8a075e156 100644 --- a/src/partials/palette.html +++ b/src/partials/palette.html @@ -21,7 +21,7 @@ --> -{%- macro primary(key) -%}{{- { +{% macro primary(key) %}{{- { "red": "#ef5350", "pink": "#e91e63", "purple": "#ab47bc", @@ -41,10 +41,10 @@ "brown": "#795548", "grey": "#757575", "blue-grey": "#546e7a" -}[key] -}}{%- endmacro -%} +}[key] -}}{% endmacro %} -{%- macro accent(key) %}{{- { +{% macro accent(key) %}{{- { "red": "#ff1744", "pink": "#f50057", "purple": "#e040fb", @@ -61,4 +61,4 @@ "amber": "#ffab00", "orange": "#ff9100", "deep-orange": "#ff6e40" -}[key] -}}{%- endmacro -%} +}[key] -}}{% endmacro %} diff --git a/src/partials/search.html b/src/partials/search.html index 45e0756f8..3553f649b 100644 --- a/src/partials/search.html +++ b/src/partials/search.html @@ -20,7 +20,7 @@ IN THE SOFTWARE. --> -{%- import "partials/language.html" as lang with context -%} +{% import "partials/language.html" as lang with context %}