diff --git a/templates/index_macros.html b/templates/index_macros.html
index 91337de..7e7e938 100644
--- a/templates/index_macros.html
+++ b/templates/index_macros.html
@@ -77,8 +77,10 @@
{% if config.extra.zulma_menu %}
{% for item in config.extra.zulma_menu %}
+ {% set item_url = item.url | replace(from="$BASE_URL", to=config.base_url) %}
+ {% set item_url = item_url ~ "/" %}
{{ item.name }}