diff --git a/material/base.html b/material/base.html index 2e496611a..5a3d5b38f 100644 --- a/material/base.html +++ b/material/base.html @@ -30,19 +30,6 @@ {% 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 %} @@ -73,9 +60,9 @@ {% if font != false %} + font.text | replace(' ', '+') + ':300,400,400i,700|' + + font.code | replace(' ', '+') + }}&display=fallback"> {% endif %} {% endblock %} @@ -215,6 +202,23 @@ {% endif %} {% endif %} {% endif %} + {% for path in config["extra_javascript"] %} diff --git a/material/partials/footer.html b/material/partials/footer.html index e14d93c7b..f6eeddb8a 100644 --- a/material/partials/footer.html +++ b/material/partials/footer.html @@ -51,7 +51,8 @@ MkDocs and - Material for MkDocs + Material for MkDocs + {% include "partials/social.html" %} diff --git a/src/base.html b/src/base.html index f563de838..d23ba3a57 100644 --- a/src/base.html +++ b/src/base.html @@ -41,8 +41,7 @@ {% if page and page.meta and page.meta.description %} - + {% elif config.site_description %} {% endif %} @@ -72,28 +71,14 @@ {% 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 %} @@ -111,13 +96,19 @@ {% block styles %} - + {% if palette.primary or palette.accent %} - + {% endif %} @@ -139,11 +130,14 @@ {% if font != false %} - +