sarsooxyz.hugo/layouts/shortcodes/image-box-link.html

13 lines
447 B
HTML
Raw Normal View History

2022-09-16 22:55:18 +01:00
<div>
<div class="box-link">
<span aria-hidden="true"></span>
<img loading="lazy" alt="" src="{{ .Get "src" }}">
<div>
<p style="font-size:30px;">
<a href="{{ .Get "href" }}">{{ .Get "title" }}</a>
2022-09-16 22:55:18 +01:00
</p>{{if isset .Params "caption" }}
<p style="font-family: monospace;
margin-top: 20px;">{{ .Get "caption" }}</p>{{end}}
2022-09-16 22:55:18 +01:00
</div>
</div>
</div>