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