From 548869a472b8128ad32ea847036d2655e05c1fe4 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Mon, 15 Jan 2018 10:51:17 +0100 Subject: [PATCH] Changed from dict header to array header so order is in tact --- templates/layout.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 %}