mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Formatting
This commit is contained in:
parent
2b129db2a8
commit
130241791d
@ -1,7 +1,6 @@
|
|||||||
{#-
|
{#-
|
||||||
This file was automatically generated - do not edit
|
This file was automatically generated - do not edit
|
||||||
-#}
|
-#}
|
||||||
{% set features = config.theme.features or [] %}
|
|
||||||
{% macro render_nav_item(nav_item, path, level) %}
|
{% macro render_nav_item(nav_item, path, level) %}
|
||||||
{% set class = "md-nav__item" %}
|
{% set class = "md-nav__item" %}
|
||||||
{% if nav_item.active %}
|
{% if nav_item.active %}
|
||||||
|
@ -140,7 +140,7 @@
|
|||||||
/>
|
/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Custom stylesheets, might contain media query after URL -->
|
<!-- Custom stylesheets -->
|
||||||
{% for path in config["extra_css"] %}
|
{% for path in config["extra_css"] %}
|
||||||
<link rel="stylesheet" href="{{ path | url }}" />
|
<link rel="stylesheet" href="{{ path | url }}" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -20,9 +20,6 @@
|
|||||||
IN THE SOFTWARE.
|
IN THE SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Retrieve features from configuration -->
|
|
||||||
{% set features = config.theme.features or [] %}
|
|
||||||
|
|
||||||
<!-- Wrap everything into a macro to reduce file roundtrips (see #2213) -->
|
<!-- Wrap everything into a macro to reduce file roundtrips (see #2213) -->
|
||||||
{% macro render_nav_item(nav_item, path, level) %}
|
{% macro render_nav_item(nav_item, path, level) %}
|
||||||
|
|
||||||
@ -143,4 +140,5 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
<!-- Render current and nested navigation items -->
|
||||||
{{ render_nav_item(nav_item, path, level) }}
|
{{ render_nav_item(nav_item, path, level) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user