gcg-website/layouts/_default/begabte.html
Denys Konovalov af9ef7a478
All checks were successful
continuous-integration/drone/push Build is passing
gitea migration
2023-01-25 19:33:28 +01:00

15 lines
667 B
HTML

<div class="card border-primary rounded-0 hover-shadow mb-5">
{{ if .Params.Image }}
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
{{ else }}
<img class="card-img-top rounded-0" src="/media/begabte/image.webp" alt="{{ .Title }}">
{{ end }}
<div class="card-body">
<ul class="list-inline">
<li class="list-inline-item"><p><i class="fa-solid fa-book-bookmark"></i> {{ .Params.Category }}</p></li>
</ul>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase">{{ i18n "read_more"}}</a>
</div>
</div>