Denys Konovalov
799acd03a9
- Standartisierung der Karten-/Template-Elemente (schließt #224) - Verbesserung einiger Ansichten - "schrumpfung" - Code-Cleanups - Trabsliteration Kategorien u. v. m.
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
{{ define "main" }}
|
|
|
|
<section class="section-sm">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="container">
|
|
{{ range .Pages }}
|
|
<div class="d-md-table w-100 border-bottom hover-shadow p-3">
|
|
<div class="d-md-table-cell termin-tc">
|
|
{{ if .Params.image }}
|
|
<img class="rounded-circle img-fluid" src="{{.Params.image | relURL }}" width="128px">
|
|
{{ else if .Params.email }}
|
|
<img class="rounded-circle img-fluid" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon">
|
|
{{ end }}
|
|
</div>
|
|
<div class="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0">
|
|
<a href="{{ .Permalink }}" class="h4 mb-3 d-block">{{ .Title }}</a>
|
|
<p class="mb-0">{{ .Summary | truncate 100 }}</p>
|
|
</div>
|
|
<div class="d-md-table-cell text-right pr-0 pr-md-4" data-pagefind-ignore>
|
|
<a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{{ end }}
|