+ This page could not be found, perhaps it is not available in the current language or simply does not exist.
+
+
+
+
+
+
+
+
+{% endblock content %}
\ No newline at end of file
diff --git a/templates/index_macros.html b/templates/index_macros.html
index bd90f75..56c4091 100644
--- a/templates/index_macros.html
+++ b/templates/index_macros.html
@@ -53,6 +53,18 @@
{% macro navbar() %}
{% if config.extra.zulma_menu or config.extra.zulma_brand or config.build_search_index %}
+
+{# This is used for the 404 template, as it only gets the config in its context.
+ This is clearly hacky and should be changed eventually #}
+
+{% if not lang %}
+{% set lang = config.default_language %}
+{% endif %}
+
+{% if not current_url %}
+{% set current_url = config.base_url %}
+{% endif %}
+