1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-11-14 04:49:29 +00:00

Fix edit link for Wiki pages

This commit is contained in:
Noah 2017-12-23 15:37:39 -08:00
parent 445c53b219
commit 72bf6ad621

View File

@ -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>