From 3b6d4ac0b7cc933387bcaf6bd945e685dc0b3733 Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Sun, 2 May 2021 15:32:43 +0200 Subject: [PATCH] Fix source-file include Fixes https://github.com/squidfunk/mkdocs-material/pull/2579#issuecomment-830806927 --- material/base.html | 6 +++--- src/base.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/material/base.html b/material/base.html index 493e20243..2122ad58e 100644 --- a/material/base.html +++ b/material/base.html @@ -169,7 +169,7 @@ {% if page.meta.git_revision_date_localized or page.meta.revision_date %} - {% include "partials/source-date.html" %} + {% include "partials/source-file.html" %} {% endif %} {% endif %} {% endblock %} @@ -197,7 +197,7 @@ "base": base_url, "features": features, "translations": {}, - "search": "assets/javascripts/workers/search.4fa0e4ee.min.js" | url, + "search": "assets/javascripts/workers/search.d2d1b361.min.js" | url, "version": config.extra.version or None } -%} {%- set translations = app.translations -%} @@ -223,7 +223,7 @@ {% endblock %} {% block scripts %} - + {% for path in config["extra_javascript"] %} {% endfor %} diff --git a/src/base.html b/src/base.html index 41e468a00..4711e73b9 100644 --- a/src/base.html +++ b/src/base.html @@ -323,7 +323,7 @@ {% if page.meta.git_revision_date_localized or page.meta.revision_date %} - {% include "partials/source-date.html" %} + {% include "partials/source-file.html" %} {% endif %} {% endif %} {% endblock %}