bop-hugo-theme/layouts/_default/list.html

33 lines
539 B
HTML

{{ define "main" }}
<main>
<div class="hero">
{{ partial "scope.html" . }}
</div>
{{ with .Params.intro }}
<div class="intro">
{{ . }}
</div>
{{ end }}
<ul>
{{ range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
<section>
{{ .TableOfContents }}
<div class="content">
{{ with .Content }}
{{ . }}
{{ end }}
</div>
</section>
</main>
{{ end }}