summaryrefslogtreecommitdiffstats
path: root/templates/games/index.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/games/index.html.template')
-rw-r--r--templates/games/index.html.template14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/games/index.html.template b/templates/games/index.html.template
index 917a0c9..f235bd1 100644
--- a/templates/games/index.html.template
+++ b/templates/games/index.html.template
@@ -1,8 +1,10 @@
{{define "head"}}<title>Games</title>{{end}}
-<section>
- <ul>
- <li><a href="/games/pong">Pong</a> (warning: loud)</li>
- <li><a href="/games/rms">RMS shooter</a></li>
- </ul>
-</section>
+{{define "body" -}}
+ <section>
+ <ul>
+ <li><a href="/games/pong">Pong</a> (warning: loud)</li>
+ <li><a href="/games/rms">RMS shooter</a></li>
+ </ul>
+ </section>
+{{- end}}