diff options
Diffstat (limited to 'templates/games/rms.html.template')
| -rw-r--r-- | templates/games/rms.html.template | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/templates/games/rms.html.template b/templates/games/rms.html.template index ba00824..9f396fe 100644 --- a/templates/games/rms.html.template +++ b/templates/games/rms.html.template @@ -1,10 +1,12 @@ -{{define "head"}} - <title>RMS shooter</title> - <script src="/static/games/rms/rms.js" defer></script> -{{end}} +{{define "head" -}} + <title>RMS shooter</title> + <script src="/static/games/rms/rms.js" defer></script> +{{- end}} -<img id="sprite-sheet" src="/static/games/rms/sprite-sheet.webp" hidden> +{{define "body" -}} + <img id="sprite-sheet" src="/static/games/rms/sprite-sheet.webp" hidden> -<section> - <canvas id="canvas" width="800" height="600"></canvas> -</section> + <section> + <canvas id="canvas" width="800" height="600"></canvas> + </section> +{{- end}} |
