freedom/layouts/partials/recent-audio.html

11 lines
316 B
HTML
Raw Permalink Normal View History

2024-01-28 03:58:18 -05:00
<div style="flex-wrap:wrap;width:100%;display:flex;align-items: flex-start;justify-content: center;">
{{$counter := 0 }}
{{ range .Site.RegularPages }}
{{if .Params.audio}}
{{ $counter = add $counter 1}}
{{if le $counter 5}}
{{partial "audio-episode" .}}
{{end}}
{{end}}
{{end}}
</div>