diff --git a/templates/layout.html b/templates/layout.html index b079986..3ba3294 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,16 +1,16 @@ {% set header_links = - { - "Home": + [ { + "name": "Home", "endpoint": "home_index", "href": "/home" }, - "Download": { + "name": "Download", "endpoint": "download_index", "href": "/download" } - } + ] %} @@ -65,14 +65,14 @@
@@ -82,8 +82,8 @@ - {% for entry in header_links.keys() %} - {{entry}} + {% for entry in header_links %} + {{entry["name"]}} {% endfor %}