wikingo/views/page.html
Óscar M. Lage a6c0ae3321 Add: Bluemonday + Backfriday support
First one as sanitizer and second one as markdown parser
2022-03-22 22:06:41 +01:00

13 lines
319 B
HTML

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