@leuffen/themejs1 9.0.0 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
{% assign navi2 = site.pages | where: "lang", page.lang | where: "ptags", include.ptag | sort: "order" %}
|
|
3
3
|
{%- for it in navi2 -%}
|
|
4
4
|
{%- if it.has_subnav != true -%}
|
|
5
|
-
<li><a href="{{ it.url }}"
|
|
5
|
+
<li style="order: {{it.order}}"><a href="{{ it.url }}">{% if it.nav_icon != null %}<i class="{{ it.nav_icon }}"></i>{% endif %}{% if it.short_title %}{{ it.short_title }}{% else %}{{ it.title }}{% endif %}</a></li>
|
|
6
6
|
{%- else -%}
|
|
7
7
|
{% assign itRootArr = it.pid | split: "/" %}
|
|
8
8
|
{% assign itRoot = itRootArr[0] %}
|
|
9
|
-
<li class="dropdown"><a href="{{ it.url }}" class="dropdown-toggle" role="button" data-bs-toggle="dropdown"><i class="{% if it.nav_icon != null %}{{ it.nav_icon }}{% else %}{{ site.data.style.default_icon_class }}{% endif %}"></i>{% if it.short_title %}{{ it.short_title }}{% else %}{{ it.title }}{% endif %}</a>
|
|
9
|
+
<li class="dropdown" style="order: {{it.order}}"><a href="{{ it.url }}" class="dropdown-toggle" role="button" data-bs-toggle="dropdown"><i class="{% if it.nav_icon != null %}{{ it.nav_icon }}{% else %}{{ site.data.style.default_icon_class }}{% endif %}"></i>{% if it.short_title %}{{ it.short_title }}{% else %}{{ it.title }}{% endif %}</a>
|
|
10
10
|
<ul>
|
|
11
11
|
{% assign subNavi = site.pages | where: "lang", page.lang | where: "ptags", "subnav" | sort: "order" %}
|
|
12
12
|
{%- for sub in subNavi -%}
|
package/index.scss
CHANGED