This commit is contained in:
Thomas Chartron 2021-11-12 20:16:21 +01:00
parent 52aa4e7b90
commit 000f4169ef

View file

@ -124,7 +124,7 @@
<!---------------------------- Left side menu ----------------------------> <!---------------------------- Left side menu ---------------------------->
{% if config.extra.zt.enable_sidebar %} {% if config.extra.zt.enable_sidebar %}
<div class="flex w-1/5"> <div class="flex w-1/5">
{% for item in config.extra.sidebar/items %} {% for item in config.extra.sidebar.items %}
{% if lang == item.code %} {% if lang == item.code %}
{% for link in item.links %} {% for link in item.links %}
<a href="{{ link.url }}" class="text-gray-800 dark:text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">{{ link.name }}</a> <a href="{{ link.url }}" class="text-gray-800 dark:text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">{{ link.name }}</a>