summaryrefslogtreecommitdiffstats
path: root/templates/note.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note.html.template')
-rw-r--r--templates/note.html.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/note.html.template b/templates/note.html.template
index cc9255e..ff72bdf 100644
--- a/templates/note.html.template
+++ b/templates/note.html.template
@@ -1,11 +1,11 @@
-{{- define "head"}}
+{{define "head" -}}
<script src="/static/htmx.min.js"></script>
<title>Notepad</title>
<meta name="viewport" content="interactive-widget=resizes-content"> <!-- https://stackoverflow.com/q/76026292 -->
{{- end}}
-{{- define "body"}}
+{{define "body" -}}
<form id="form" method="post">
<div class="save-indicator-container">
{{block "saveIndicator" ""}}<span id="save-indicator">{{.}}</span>{{end}}