portails/layouts/contributors/list.html

23 lines
683 B
HTML
Raw Normal View History

2020-04-15 15:48:16 +02:00
{{ define "main" }}
<div class="row justify-content-center">
<div class="col-md-12 col-lg-10 col-xl-8">
<article>
<h1 class="text-center">{{ .Title }}</h1>
<div class="text-center">{{ .Content }}</div>
2021-04-02 19:45:05 +02:00
<div class="card-list">
2020-04-15 15:48:16 +02:00
{{ range .Data.Pages -}}
<div class="card">
<div class="card-body">
2021-04-02 19:45:05 +02:00
<h2 class="h3"><a class="stretched-link text-body" href="{{ .RelPermalink }}">{{ .Params.title }}</a></h2>
2020-04-15 15:48:16 +02:00
{{ if eq .Section "blog" -}}
2022-06-24 16:32:15 +02:00
<p>{{ .Params.excerpt | safeHTML }}</p>
2020-04-15 15:48:16 +02:00
{{ partial "main/blog-meta.html" . -}}
{{ end -}}
</div>
</div>
{{ end -}}
</div>
</article>
</div>
</div>
{{ end }}