website/layouts/association/list.html

31 lines
884 B
HTML
Raw Permalink Normal View History

2023-03-31 22:14:22 +00:00
{{ define "main" }}
<div class="content-with-side-menu">
<main class="page-container">
{{ $listtitle := .Title }}
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
<nav class="sticky-nav">
2024-03-10 22:27:47 +00:00
<ul>
{{ range .CurrentSection.Pages }}
<li>
{{ $title := .Title }}
{{ with .Params.short_title }}
{{ $title = . }}
{{ end }}
<a href="{{ .RelPermalink }}">{{ $title }}</a>
</li>
{{ end }}
</ul>
</nav>
2023-07-14 09:57:56 +00:00
2024-03-10 22:27:47 +00:00
{{ if .Content }}
<div>
{{ with .Content }}<div>{{ . }}</div>{{ end }}
</div>
{{ end }}
</main>
2023-07-14 09:57:56 +00:00
</div>
2023-03-31 22:14:22 +00:00
{{ end }}