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

Formatting

This commit is contained in:
squidfunk 2021-01-24 13:02:42 +01:00
parent 2b129db2a8
commit 130241791d
3 changed files with 2 additions and 5 deletions

View File

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

View File

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

View File

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