diff --git a/templates/layout.html b/templates/layout.html
index 2bd5d52..45050fa 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -124,7 +124,7 @@
{% if config.extra.zt.enable_sidebar %}
- {% for item in config.extra.sidebar/items %}
+ {% for item in config.extra.sidebar.items %}
{% if lang == item.code %}
{% for link in item.links %}
{{ link.name }}