feat: Suppression des contenus vide

This commit is contained in:
2023-02-22 10:46:24 +01:00
parent 412fb2f6b8
commit c4819fcc34
2 changed files with 4 additions and 0 deletions

View File

@ -7,9 +7,11 @@
<div class="cards">
{{ block "list" . }}
{{ range sort .Pages "Permalink" }}
{{ if .Params.bureau }}
<a href="{{ .Permalink }}" class="card {{ if isset .Params "theme" }}{{ .Params.theme }}{{ end }}">
<h2>{{ .RenderString .Title }}</h2>
</a>
{{ end }}
{{ end }}
{{ end }}
</div>