mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Fix icons and build due to jinja changes
This commit is contained in:
parent
03604c5e27
commit
6d01f17193
1
material/assets/stylesheets/application-96d55a1439.css
Normal file
1
material/assets/stylesheets/application-96d55a1439.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -37,7 +37,7 @@
|
|||||||
{% include "partials/fonts.html" %}
|
{% include "partials/fonts.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-a2651bb338.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-96d55a1439.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
{{ nav_item.title}}
|
{{ nav_item.title}}
|
||||||
</label>
|
</label>
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
|
{% set base = path %}
|
||||||
{% for nav_item in nav_item.children %}
|
{% for nav_item in nav_item.children %}
|
||||||
{% set temp = path %}
|
{% with path = base + "-" + loop.index | string %}
|
||||||
{% set path = path + "-" + loop.index | string %}
|
{% include "partials/nav-item.html" %}
|
||||||
{% include "partials/nav-item.html" %}
|
{% endwith %}
|
||||||
{% set path = temp %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -16,8 +16,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
{% for nav_item in nav %}
|
{% for nav_item in nav %}
|
||||||
{% set path = "nav-" + loop.index | string %}
|
{% with path = "nav-" + loop.index | string %}
|
||||||
{% include "partials/nav-item.html" %}
|
{% include "partials/nav-item.html" %}
|
||||||
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -46,3 +46,8 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Representational classes
|
||||||
|
.md-icon {
|
||||||
|
@extend %md-icon;
|
||||||
|
}
|
||||||
|
@ -42,13 +42,13 @@
|
|||||||
{{ nav_item.title}}
|
{{ nav_item.title}}
|
||||||
</label>
|
</label>
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
|
{% set base = path %}
|
||||||
|
|
||||||
<!-- Render nested item list -->
|
<!-- Render nested item list -->
|
||||||
{% for nav_item in nav_item.children %}
|
{% for nav_item in nav_item.children %}
|
||||||
{% set temp = path %}
|
{% with path = base + "-" + loop.index | string %}
|
||||||
{% set path = path + "-" + loop.index | string %}
|
{% include "partials/nav-item.html" %}
|
||||||
{% include "partials/nav-item.html" %}
|
{% endwith %}
|
||||||
{% set path = temp %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -39,8 +39,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
{% for nav_item in nav %}
|
{% for nav_item in nav %}
|
||||||
{% set path = "nav-" + loop.index | string %}
|
{% with path = "nav-" + loop.index | string %}
|
||||||
{% include "partials/nav-item.html" %}
|
{% include "partials/nav-item.html" %}
|
||||||
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user