2018-11-24 12:34:51 +00:00
|
|
|
{{ 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 }}
|
2020-05-07 12:15:36 +00:00
|
|
|
{{ end }}
|