wikingo/templates/page.html

13 lines
340 B
HTML

{{define "title"}}
Wikingo - {{ .page.Name }}
{{end}}
{{define "body"}}
<h1>{{ .page.Name }}</h1>
{{ .html | safeHTML }}
<hr />
<a href="/{{ .page.Name }}/{{ .page.Version }}/edit">Edit</a>
<p style="float: right">Last modified: {{ .page.UpdatedAt }}</p>
<p style="float: right">*{{ .page.Version }}*</p>
{{end}}