Files
documentation/layouts/list.html
T
2026-10-20 09:41:46 -06:00

24 lines
648 B
HTML

{{ define "main" }}
<div class="doc-wrap">
<article class="doc">
<header class="doc-head">
<h1>{{ .Title }}</h1>
{{ with .Params.tagline }}<p class="doc-lede">{{ . }}</p>{{ end }}
</header>
<div class="prose">{{ .Content }}</div>
{{ if eq .Section "apps" }}
{{ partial "directory.html" (dict "headingLevel" 2) }}
{{ else }}
<ol class="guide-list">
{{ range .Pages.ByWeight }}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ with .Params.tagline }}<p>{{ . }}</p>{{ end }}
</li>
{{ end }}
</ol>
{{ end }}
</article>
</div>
{{ end }}