gcg-website/layouts/partials/card-btn.html
Denys Konovalov 763a040751
All checks were successful
website-main / prod-build (push) Successful in 1m20s
website-main / test-build (push) Successful in 55s
website-main / auto-rebuild (push) Has been skipped
website-dev / dev-build (push) Successful in 58s
refactor: switch render templates to partials
2023-07-15 15:50:10 +02:00

8 lines
483 B
HTML

<div class="card border-primary rounded-0 hover-shadow mb-4">
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.image | relURL }}"
alt="{{ .Title }}"></a>
<div class="card-body d-flex flex-column">
<h4 class="card-title text-truncate mt-auto"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase align-self-start" data-pagefind-ignore>Mehr anzeigen</a>
</div>
</div>