Rework templates to be less hard-coded
This commit is contained in:
parent
a66e26477c
commit
02e1c80c24
7 changed files with 28 additions and 32 deletions
4
pages/entry.html
Normal file
4
pages/entry.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{define "main"}}
|
||||
<h2><label for="text">{{ .Title }}</label> | <a href="/day">Go back</a></h2>
|
||||
<textarea id="text" cols="40" rows="15" readonly>{{ .Content }}</textarea>
|
||||
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue