aboutsummaryrefslogtreecommitdiffstats
path: root/templates/event/index.html.tera
diff options
context:
space:
mode:
Diffstat (limited to 'templates/event/index.html.tera')
-rw-r--r--templates/event/index.html.tera45
1 files changed, 10 insertions, 35 deletions
diff --git a/templates/event/index.html.tera b/templates/event/index.html.tera
index 504e2b4..0a9f7d6 100644
--- a/templates/event/index.html.tera
+++ b/templates/event/index.html.tera
@@ -1,37 +1,12 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="utf-8">
- <title>{{ event.name }}</title>
- <link rel="stylesheet" href="app.css">
- <script type="text/javascript" src="js/app.js"></script>
- </head>
- <body>
- <h1>{{ event.name }}</h1>
+{% extends "base" %}
+{% block content %}
+ {% for event in events %}
+ <h1>{{ event.name }}</h1>
- {% if event.description -%}
- <p>{{ event.description }}</p>
- {% endif -%}
+ {% if event.description -%}
+ <p>{{ event.description }}</p>
+ {% endif -%}
+ {% endfor %}
- <div id="program"></div>
-
- <footer>
- <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
- <img alt="Creative Commons-lisens" style="border-width:0" src="license.png">
- </a>
- <span id="copyright-text">
- <span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">
- {{ event.name }}
- </span>
- av
- <a xmlns:cc="http://creativecommons.org/ns#" href="https://code.volse.no/ramaskrik-social.git/"
- property="cc:attributionName" rel="cc:attributionURL">Harald Eilertsen</a>
- er lisensiert under en
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
- Creative Commons Navngivelse-DelPåSammeVilkår 4.0 Internasjonal Lisens
- </a>.
- </span>
- </footer>
- </body>
-</html>
-</html>
+ <div id="program"></div>
+{% endblock content %}