freedom/layouts/partials/recent-audio.html
2024-01-28 03:58:18 -05:00

11 lines
No EOL
316 B
HTML

<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>