You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/templates/edit.html

30 lines
822 B

4 years ago
{{ define "navbar" }}
<a href="/edit/{{ .TodayPage }}" class="navbar-item">Today</a>
<a href="/{{ .Name }}" class="navbar-item">Back</a>
4 years ago
{{ 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 }}