wiki/templates/edit.html
Peter Stuifzand a2c83d87b6
All checks were successful
continuous-integration/drone/push Build is passing
Hide backrefs on editor page (are visible in sidebar)
2021-09-25 21:03:38 +02:00

30 lines
822 B
HTML

{{ define "navbar" }}
<a href="/edit/{{ .TodayPage }}" class="navbar-item">Today</a>
<a href="/{{ .Name }}" class="navbar-item">Back</a>
{{ end }}
{{define "content"}}
<div class="columns">
<div class="column">
<nav class="breadcrumb">
<ol>
{{ range $p := .Parents }}
<li><a href="/edit/{{ $p.ID }}">{{ $p.Text }}</a></li>
{{ end }}
</ol>
</nav>
<h1 class="title">{{ .TitleHTML }}</h1>
<form action="/save/" method="post">
<input type="hidden" name="p" value="{{ .Name }}"/>
{{ .Editor }}
</form>
</div>
</div>
{{ end }}
{{ define "content_head" }}
{{ end }}
{{ define "footer_scripts" }}
{{ end }}