aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-08-25 16:32:13 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-08-25 16:32:58 +0200
commit69105c122cbdb3858f940428b65ceb01100fc600 (patch)
tree5248bede1f655235527d2308dff7b3e64a24f0e0
parentd3d7a199130fbb6cf4a6a988d9a6d03264539483 (diff)
downloadramaskrik-social-69105c122cbdb3858f940428b65ceb01100fc600.tar.gz
ramaskrik-social-69105c122cbdb3858f940428b65ceb01100fc600.tar.bz2
ramaskrik-social-69105c122cbdb3858f940428b65ceb01100fc600.zip
Add stylesheet and js to to the index template.
This also obsoletes and removes the old index.html file.
-rw-r--r--public/index.html41
-rw-r--r--templates/event/index.tera41
2 files changed, 32 insertions, 50 deletions
diff --git a/public/index.html b/public/index.html
deleted file mode 100644
index ef16221..0000000
--- a/public/index.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="utf-8">
- <title>Ramaskrik 2019 - Uoffisielt program</title>
- <link rel="stylesheet" href="app.css">
- <script type="text/javascript" src="js/app.js"></script>
- </head>
- <body>
- <h1>Ramaskrik 2019</h1>
- <p>Uoffisielt program for Ramaskrik 2019.</p>
- <p>Det er forhåpentligvis litt lettere å se hvilke visninger som går når enn i det
- offisielle programmet. Dette programmet blir imidlertid ikke oppdatert automatisk
- ved endringer, så dobbelsjekk på
- <a href="https://ramaskrik.no/program/">Ramaskrik sitt offisielle program</a>
- for å være helt sikker.</p>
-
- <p>Du finner også en annen variant av programmet
- <a href="ramaskrik-2019-svg.html">her</a>.
-
- <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">
- Ramaskrik uoffisielt program
- </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>
diff --git a/templates/event/index.tera b/templates/event/index.tera
index 411a5f5..504e2b4 100644
--- a/templates/event/index.tera
+++ b/templates/event/index.tera
@@ -1,14 +1,37 @@
<!DOCTYPE html>
<html>
- <head>
- <title>{{ event.name }}</title>
- </head>
- <body>
- <h1>{{ event.name }}</h1>
+ <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>
- {% if event.description -%}
- <p>{{ event.description }}</p>
- {% endif -%}
+ {% if event.description -%}
+ <p>{{ event.description }}</p>
+ {% endif -%}
- </body>
+ <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>