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

View File

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

View File

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