Files
lestoitsduval/layouts/partials/projets.html
Simon C f0aeb335e1
All checks were successful
continuous-integration/drone/push Build is passing
feat: Bully
2025-04-18 01:27:07 +02:00

14 lines
342 B
HTML

<div class="grid actualites -middle">
{{ if .Page.IsHome }}
{{ $pages := first 4 (where .Site.RegularPages "Type" "projets") }}
{{ range $pages }}
{{ partial "projet" . }}
{{ end }}
{{ else }}
{{ $pages := where .Site.RegularPages "Type" "projets" }}
{{ range $pages }}
{{ partial "projet" . }}
{{ end }}
{{ end }}
</div>