summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorWriterV2 <primary-v2@protonmail.com>2022-09-03 18:45:45 +0200
committerWriterV2 <primary-v2@protonmail.com>2022-09-03 18:45:45 +0200
commit18853a2baf20017e926e4bb465e3c02bb5a7af97 (patch)
treeee9051cd54073878a407c93005405c116db57771 /templates
parent746c348f739a8d5f26d4cd76ed72646a338271c4 (diff)
Universalize method to create context from works and pass entire works object
Diffstat (limited to 'templates')
-rw-r--r--templates/stories.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/stories.html b/templates/stories.html
index e69de29..34384a3 100644
--- a/templates/stories.html
+++ b/templates/stories.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+{% block title %}Stories{% endblock title %}
+{% block content %}
+{% for work in works %}
+ {{work.title}}
+ {{work.description}}
+{% endfor %}
+{% endblock content %}