mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-24 14:29:44 +01:00
31 lines
448 B
HTML
31 lines
448 B
HTML
{{ define "main" }}
|
|
|
|
<div id="layout">
|
|
<article>
|
|
|
|
{{ partial "brand.html" . }}
|
|
|
|
{{ partial "content.header.html" . }}
|
|
|
|
{{ with .Content }}
|
|
<section>
|
|
{{ . }}
|
|
</section>
|
|
{{ end }}
|
|
|
|
<section class="list-page">
|
|
<ul>
|
|
{{ range .Pages.ByTitle }}
|
|
{{ if .IsPage }}
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}{{- if .Draft -}} :: Draft {{- end -}}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</section>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</article>
|
|
</div>
|
|
|
|
{{ end }}
|