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, 4 insertions, 6 deletions
diff --git a/templates/games/index.html.template b/templates/games/index.html.template
index f25c080..f235bd1 100644
--- a/templates/games/index.html.template
+++ b/templates/games/index.html.template
@@ -1,8 +1,6 @@
-{{- 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 d6efdad..9f396fe 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>