shortcodes/relevant-items.html

7 lines
163 B
HTML
Raw Normal View History

2023-05-03 20:30:33 -04:00
<div class="gallery">
{{ $tag := .Get 0 }}
2023-07-14 08:17:13 -04:00
{{range first 5 ( .Site.RegularPages.RelatedTo (keyVals "tags" $tag))}}
2023-05-03 20:30:33 -04:00
{{partial "item" .}}
{{end}}
</div>