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.
14 lines
480 B
14 lines
480 B
{{ define "navbar" }}
|
|
<a href="/edit/{{ .Name }}" class="navbar-item">Edit</a>
|
|
{{ end }}
|
|
|
|
{{ define "content" }}
|
|
{{ range $index, $revision := .History }}
|
|
<section class="section">
|
|
<h2 class="title is-4">Revision {{ historyIndex $index $.History }}</h2>
|
|
<h3 class="subtitle is-6">{{ $revision.Summary }}</h3>
|
|
<div class="content monospace">{{ $revision.Page.Diff }}</div>
|
|
</section>
|
|
<hr/>
|
|
{{ end }}
|
|
{{ end }} |