Verbesserungen allgemein

This commit is contained in:
Simon Martens
2023-03-21 13:23:36 +01:00
parent c28c982533
commit d28ebdc602
10 changed files with 22 additions and 29 deletions

View File

@@ -6,7 +6,7 @@
{% if not entry.children.length %}
<a {% if entry.url == page.url %} class="active"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
{% if entry.pdf == "yes" %}
<span class="text-sm inline-block bg-slate-200 ml-1 px-1.5 rounded relative bottom-0.5">mit PDF</span>
<span class="inline-block bg-slate-200 ml-1 px-1.5 rounded relative bottom-0.5">mit PDF</span>
{% endif %}
{% else %}
<div>{{ entry.title }}</div>
@@ -21,7 +21,7 @@
</li>
{%- endmacro %}
<nav class="hidden desktop:block py-4 sidebar-nav px-4" id="navigation">
<nav class="hidden-important desktop:!block py-4 sidebar-nav px-4" id="navigation">
<ul>
{%- for entry in navPages %}{{ renderNavListItem(entry) }}{%- endfor -%}
</ul>