summaryrefslogtreecommitdiffstats
path: root/templates/games
diff options
context:
space:
mode:
Diffstat (limited to 'templates/games')
-rw-r--r--templates/games/index.html.template6
-rw-r--r--templates/games/rms.html.template4
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/games/index.html.template b/templates/games/index.html.template
index f235bd1..f25c080 100644
--- a/templates/games/index.html.template
+++ b/templates/games/index.html.template
@@ -1,6 +1,8 @@
-{{define "head"}}<title>Games</title>{{end}}
+{{- define "head"}}
+ <title>Games</title>
+{{- end}}
-{{define "body" -}}
+{{- define "body"}}
<section>
<ul>
<li><a href="/games/pong">Pong</a> (warning: loud)</li>
diff --git a/templates/games/rms.html.template b/templates/games/rms.html.template
index 9f396fe..d6efdad 100644
--- a/templates/games/rms.html.template
+++ b/templates/games/rms.html.template
@@ -1,9 +1,9 @@
-{{define "head" -}}
+{{- define "head"}}
<title>RMS shooter</title>
<script src="/static/games/rms/rms.js" defer></script>
{{- end}}
-{{define "body" -}}
+{{- define "body"}}
<img id="sprite-sheet" src="/static/games/rms/sprite-sheet.webp" hidden>
<section>