feat: Suppression des contenus vide
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user