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

12 lines
454 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" }}">
2024-10-13 22:44:17 +01:00
<div class="text-section">
<p style="font-size:30px;">
2024-10-13 22:44:17 +01:00
<a class="center-link-text" href="{{ .Get "href" }}">{{ .Get "title" }}</a>
2022-09-16 22:55:18 +01:00
</p>{{if isset .Params "caption" }}
2024-10-18 18:50:54 +01:00
<p class="silkscreen-regular">{{ .Get "caption" }}</p>{{end}}
2022-09-16 22:55:18 +01:00
</div>
</div>
</div>