mirror of
https://github.com/kirsle/kirsle.net
synced 2024-12-22 23:19:28 +00:00
Fix edit link for Wiki pages
This commit is contained in:
parent
445c53b219
commit
72bf6ad621
|
@ -62,6 +62,12 @@
|
||||||
|
|
||||||
{{ template "content" . }}
|
{{ 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">
|
<div class="k-copyright">
|
||||||
Copyright © {{ Now.Format "2006" }} Noah Petherbridge — All rights reserved<br>
|
Copyright © {{ Now.Format "2006" }} Noah Petherbridge — All rights reserved<br>
|
||||||
Hosted by <a href="https://www.digitalocean.com/?refcode=ea01734d3fc7">DigitalOcean</a><br>
|
Hosted by <a href="https://www.digitalocean.com/?refcode=ea01734d3fc7">DigitalOcean</a><br>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user