Nezobrazovat šipku u položek bez potomků

studium
Emil Miler 4 years ago
parent c323d97fc2
commit 5bed568213

@ -137,7 +137,7 @@ header {
font-weight: bold; font-weight: bold;
font-size: 1.2em; font-size: 1.2em;
&>ul>li>a::after { &>ul>li>a.rolldown::after {
content: "\ea4e"; content: "\ea4e";
font-family: remixicon; font-family: remixicon;
font-size: .8em; font-size: .8em;

@ -20,8 +20,8 @@
style="--color: #5E81AC" style="--color: #5E81AC"
{% endif %} {% endif %}
> >
<a href="{{ section.permalink }}">{{ section.title }}</a>
{% if section.subsections %} {% if section.subsections %}
<a href="{{ section.permalink }}" class="rolldown">{{ section.title }}</a>
<div> <div>
{% if section.extra.nav_title_left and section.extra.nav_title_right %} {% if section.extra.nav_title_left and section.extra.nav_title_right %}
<div class="title">{{ section.extra.nav_title_left }}</div> <div class="title">{{ section.extra.nav_title_left }}</div>
@ -58,6 +58,8 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% else %}
<a href="{{ section.permalink }}">{{ section.title }}</a>
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% endfor %}

Loading…
Cancel
Save