gcg-website/layouts/forms/list.html

24 lines
798 B
HTML
Raw Normal View History

2022-03-18 13:35:57 +01:00
{{ define "main" }}
<section class="section-sm">
2022-03-18 13:35:57 +01:00
<div class="container">
<div class="row">
2022-03-19 10:21:45 +01:00
<div class="col-12">
<div class="container">
2022-03-19 10:21:45 +01:00
{{ range .Data.Pages }}
<div class="d-md-table w-100 border-bottom hover-shadow p-3">
<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-end pe-0 pe-md-4" data-pagefind-ignore><a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a></div>
</div>
2022-03-19 10:21:45 +01:00
{{ end }}
</div>
2022-03-19 10:21:45 +01:00
</div>
2022-03-18 13:35:57 +01:00
</div>
</div>
</section>
{{ end }}