mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 09:20:52 +01:00
Merge pull request #2627 from Stanzilla/source-file
Fix source-file include
This commit is contained in:
commit
c16b9a20b5
@ -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 %}
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user