diff --git a/Contents/Code/webapp.py b/Contents/Code/webapp.py index ba8230bb..b9f5ef55 100644 --- a/Contents/Code/webapp.py +++ b/Contents/Code/webapp.py @@ -229,6 +229,7 @@ def cache_data(): # add each section to the items dict items[section.key] = dict( + key=section.key, title=section.title, agent=section.agent, items=[], diff --git a/Contents/Resources/web/templates/home.html b/Contents/Resources/web/templates/home.html index a8c7c53a..f32c5350 100644 --- a/Contents/Resources/web/templates/home.html +++ b/Contents/Resources/web/templates/home.html @@ -15,17 +15,17 @@ {% for section in items %} -
+

{{ items[section]['title'] }}

@@ -90,7 +90,7 @@

-
+
{{ items[section]['title'] }}