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

33 lines
539 B
HTML
Raw Normal View History

2020-10-14 01:00:50 +02:00
{{ define "main" }}
2020-11-15 16:26:56 +01:00
<main>
2020-11-17 18:30:20 +01:00
<div class="hero">
{{ partial "scope.html" . }}
</div>
{{ with .Params.intro }}
<div class="intro">
{{ . }}
</div>
{{ end }}
2020-10-14 01:00:50 +02:00
<ul>
{{ range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
2020-11-17 18:30:20 +01:00
<section>
{{ .TableOfContents }}
<div class="content">
{{ with .Content }}
{{ . }}
{{ end }}
</div>
</section>
2020-11-15 16:26:56 +01:00
</main>
2020-10-14 01:00:50 +02:00
{{ end }}