aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-08-25 20:53:24 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-08-25 20:53:24 +0200
commit4fa322a49f1a24e86786ff8c0e7cf8a42797f61e (patch)
tree9fb58cbaab2194fba6bc8cd05dd83a543f32cf94
parent6f27c2f3ac7fb75e1f4b071f84f879a447712725 (diff)
downloadramaskrik-social-4fa322a49f1a24e86786ff8c0e7cf8a42797f61e.tar.gz
ramaskrik-social-4fa322a49f1a24e86786ff8c0e7cf8a42797f61e.tar.bz2
ramaskrik-social-4fa322a49f1a24e86786ff8c0e7cf8a42797f61e.zip
Fix typo and include js in index template.
-rw-r--r--templates/event/index.html.tera7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/event/index.html.tera b/templates/event/index.html.tera
index 0a9f7d6..3eaf890 100644
--- a/templates/event/index.html.tera
+++ b/templates/event/index.html.tera
@@ -1,12 +1,13 @@
{% extends "base" %}
-{% block content %}
+{% block contents %}
{% for event in events %}
<h1>{{ event.name }}</h1>
{% if event.description -%}
- <p>{{ event.description }}</p>
+ <p>{{ event.description }}</p>
{% endif -%}
{% endfor %}
<div id="program"></div>
-{% endblock content %}
+ <script src="/js/app.js"></script>
+{% endblock contents %}