devel_custom_hugo_theme to master #4
20
site/themes/hugo_ff_theme/layouts/shortcodes/link.html
Normal file
20
site/themes/hugo_ff_theme/layouts/shortcodes/link.html
Normal file
@ -0,0 +1,20 @@
|
||||
<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>
|
Loading…
Reference in New Issue
Block a user