freifunk-rhein-sieg.net/site/themes/hugo_ff_theme/layouts/shortcodes/link.html

20 lines
486 B
HTML
Raw Permalink Normal View History

2020-02-10 11:51:23 +00:00
<div class="card">
<div class="card-body">
<h5>{{ .Get "name" }}</h5>
<p>{{ .Get "description" }}</p>
</div>
<div class="card-footer p-0">
<div class="row m-0">
{{ if .Get "link" }}
<div class="col p-0">
<a class="btn btn-dark w-100" href="{{ .Get "link" }}" target="_blank">{{ .Get "link_caption" }}</a>
</div>
{{ end }}
</div>
</div>
</div>