1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-01 02:27:17 +01:00

Merge pull request #2627 from Stanzilla/source-file

Fix source-file include
This commit is contained in:
Martin Donath 2021-05-03 12:20:21 +02:00 committed by GitHub
commit c16b9a20b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -169,7 +169,7 @@
{% if page.meta.git_revision_date_localized or {% if page.meta.git_revision_date_localized or
page.meta.revision_date page.meta.revision_date
%} %}
{% include "partials/source-date.html" %} {% include "partials/source-file.html" %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}
@ -197,7 +197,7 @@
"base": base_url, "base": base_url,
"features": features, "features": features,
"translations": {}, "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 "version": config.extra.version or None
} -%} } -%}
{%- set translations = app.translations -%} {%- set translations = app.translations -%}
@ -223,7 +223,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% 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"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

@ -323,7 +323,7 @@
{% if page.meta.git_revision_date_localized or {% if page.meta.git_revision_date_localized or
page.meta.revision_date page.meta.revision_date
%} %}
{% include "partials/source-date.html" %} {% include "partials/source-file.html" %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}