website/layouts/association/list.html

35 lines
709 B
HTML
Raw Normal View History

2023-03-31 22:14:22 +00:00
{{ define "main" }}
2023-07-14 09:57:56 +00:00
<div class="team-presentation">
<div class="team-item">
</div>
</div>
2023-03-31 22:14:22 +00:00
<main class="page-container">
{{ $listtitle := .Title }}
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
2023-07-14 13:24:55 +00:00
<ul class="section-menu">
2023-03-31 22:14:22 +00:00
{{ range .Pages }}
<li>
<div class="post-title">
{{ if eq $listtitle "Posts" }}
{{ .Date.Format "2006-01-02" }} <a href="{{ .RelPermalink }}">{{.Title }}</a>
{{ else }}
<a href="{{ .RelPermalink }}">{{.Title }}</a>
{{ end }}
</div>
</li>
{{ end }}
</ul>
{{ if .Content }}
<div>
{{ with .Content }}<div>{{ . }}</div>{{ end }}
</div>
{{ end }}
</main>
2023-07-14 09:57:56 +00:00
2023-03-31 22:14:22 +00:00
{{ end }}