sarsooxyz.hugo/layouts/shortcodes/image-box-link.html
Andy Pack ea61941c25
All checks were successful
Deploy Hugo site to Prod / Build Container (push) Successful in 24s
more css changes, smarter box link
2024-10-13 22:44:17 +01:00

12 lines
459 B
HTML

<div>
<div class="box-link">
<span aria-hidden="true"></span>
<img loading="lazy" alt="" src="{{ .Get "src" }}">
<div class="text-section">
<p style="font-size:30px;">
<a class="center-link-text" href="{{ .Get "href" }}">{{ .Get "title" }}</a>
</p>{{if isset .Params "caption" }}
<p style="font-family: monospace;">{{ .Get "caption" }}</p>{{end}}
</div>
</div>
</div>