Peter Stuifzand
a2c83d87b6
All checks were successful
continuous-integration/drone/push Build is passing
30 lines
822 B
HTML
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 }}
|