2017-12-02 18:47:21 +00:00
|
|
|
{{ define "title" }}{{ .Data.Title }}{{ end }}
|
|
|
|
{{ define "content" }}
|
|
|
|
|
2023-01-27 18:23:45 +00:00
|
|
|
<div class="markdown">
|
2017-12-02 18:47:21 +00:00
|
|
|
{{ .Data.HTML }}
|
2023-01-27 18:23:45 +00:00
|
|
|
</div>
|
2017-12-02 18:47:21 +00:00
|
|
|
|
2018-02-10 22:05:41 +00:00
|
|
|
{{ if and .CurrentUser.Admin .Editable }}
|
|
|
|
<p class="mt-4">
|
|
|
|
<strong>Admin:</strong> [<a href="/admin/editor?file={{ .Data.MarkdownPath }}">edit this page</a>]
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
2017-12-02 18:47:21 +00:00
|
|
|
{{ end }}
|