blob: 81711481128e87709d5efdaefe8bc2583f079d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{{ define "main" }}
{{ if eq .Section "docs" }}
<div class="docs">
{{ partial "docs-nav.html" . }}
<article>
<div class="docs-head">
<p class="kicker">docs</p>
<h1>{{ .Title }}</h1>
{{ with .Description }}<p class="lede">{{ . }}</p>{{ end }}
</div>
{{ .Content }}
<p class="edit">
<a href="{{ site.Params.repo }}/edit/main/web/content/{{ .File.Path }}">Edit this page</a>
</p>
</article>
</div>
{{ else }}
<article>
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>
{{ end }}
{{ end }}
|