+
{% if title %}
{{entry["title"]}}
@@ -20,13 +19,12 @@
{% endif %}
{% endif %}
-
{{entry['date']}}
+
{{entry['date']}}
{% for page in entry['tags'].split(' ') %}
{{page}}
{% endfor %}
-
{% endfor %}
diff --git a/src/kitaab-public/partial/main.html b/src/kitaab-public/partial/main.html
index 3446914..bc9be92 100644
--- a/src/kitaab-public/partial/main.html
+++ b/src/kitaab-public/partial/main.html
@@ -50,7 +50,7 @@ media="screen" title="no title" charset="utf-8">
{{ page_navigation }}
{{page_title}}
-
+
{% if page_tags %}
{% for page in page_tags %}
diff --git a/src/kitaab-public/shared/TagHelper.py b/src/kitaab-public/shared/TagHelper.py
index 528e5e1..0722377 100644
--- a/src/kitaab-public/shared/TagHelper.py
+++ b/src/kitaab-public/shared/TagHelper.py
@@ -78,5 +78,5 @@ def getAllTags():
all_tags = makeDictFromTags(loadTagFile())
all_tags['untagged'] = getUntaggedFiles()
for tag in privateList:
- all_tags.pop(tag)
+ all_tags.pop(tag, None)
return all_tags