Browse Source

Fix edit link for Wiki pages

master
Noah Petherbridge 4 years ago
parent
commit
72bf6ad621
  1. 6
      www/.layout.gohtml

6
www/.layout.gohtml

@ -62,6 +62,12 @@
{{ template "content" . }}
{{ if and .CurrentUser.Admin .Editable }}
<p>
<strong>Admin:</strong> [<a href="/admin/editor?file={{ or .Data.MarkdownFile TemplateName }}">edit this page</a>]
</p>
{{ end }}
<div class="k-copyright">
Copyright &copy; {{ Now.Format "2006" }} Noah Petherbridge &mdash; All rights reserved<br>
Hosted by <a href="https://www.digitalocean.com/?refcode=ea01734d3fc7">DigitalOcean</a><br>

Loading…
Cancel
Save