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

13 lines
447 B
HTML

<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>
</p>{{if isset .Params "caption" }}
<p style="font-family: monospace;
margin-top: 20px;">{{ .Get "caption" }}</p>{{end}}
</div>
</div>
</div>