gcg-website/layouts/author/list.html

Failed to ignore revisions in .git-blame-ignore-revs.

38 lines
1.3 KiB
HTML
Raw Permalink Normal View History

{{ define "main" }}
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-12">
<div class="container">
{{ range .Pages }}
2023-04-05 15:26:26 +02:00
<div class="card mb-4">
<div class="row g-0">
<div class="col-md-2 col-5">
{{ if .Params.image }}
<img class="rounded img-fluid w-100" src="{{.Params.image | relURL }}"
style="height: 160px;object-fit: cover;">
{{ else if .Params.email }}
<img class="rounded img-fluid w-100"
src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=160&pg&d=identicon" style="height: 160px;object-fit: cover;">
{{ end }}
</div>
2023-04-05 15:26:26 +02:00
<div class="col-md-10 col-7">
<div class="card-body text-end">
<h5 class="card-title text-start">{{ .Title }}</h5>
<p class="card-text text-truncate text-start">{{ .Summary }}</p>
{{ if not .Params.simplified }}
2023-04-05 15:26:26 +02:00
<a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a>
{{ end }}
2023-04-05 15:26:26 +02:00
</div>
</div>
</div>
2023-04-05 15:26:26 +02:00
</div>
{{ end }}
</div>
</div>
</div>
</div>
</section>
2023-04-05 15:26:26 +02:00
{{ end }}