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

Fix source-file include

Fixes https://github.com/squidfunk/mkdocs-material/pull/2579#issuecomment-830806927
This commit is contained in:
Benjamin Staneck 2021-05-02 15:32:43 +02:00
parent 15c3cf74a7
commit 3b6d4ac0b7
No known key found for this signature in database
GPG Key ID: 74A90736869653C2
2 changed files with 4 additions and 4 deletions

View File

@ -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 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.1d3bfcf1.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.405ee05f.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

@ -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 %}