Peter Stuifzand
6c04d9871f
All checks were successful
continuous-integration/drone/push Build is passing
29 lines
560 B
HTML
29 lines
560 B
HTML
{{ define "navbar" }}
|
|
<a href="/{{ .Name }}" class="navbar-item">Back</a>
|
|
{{ end }}
|
|
|
|
{{define "content"}}
|
|
<h1 class="title">{{ .Title }}</h1>
|
|
<form action="/save/" method="post">
|
|
<input type="hidden" name="p" value="{{ .Name }}" />
|
|
{{ .Editor }}
|
|
</form>
|
|
|
|
{{ if .Backrefs }}
|
|
<div class="backrefs">
|
|
<h3>Backrefs</h3>
|
|
<ul>
|
|
{{ range $ref := .Backrefs }}
|
|
<li><a href="/{{ $ref.Name }}">{{ $ref.Title }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ define "content_head" }}
|
|
{{ end }}
|
|
|
|
{{ define "footer_scripts" }}
|
|
{{ end }}
|