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>
|
||||
|
@ -7,6 +7,7 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
<br>
|
||||
{{ if or .Params.mail .Params.telephone .Params.site .Params.facebook }}
|
||||
<div class="container md">
|
||||
<h2>Liens :</h2>
|
||||
<ul>
|
||||
@ -16,6 +17,7 @@
|
||||
{{ if .Params.facebook }}<li><a href="{{ .Params.facebook }}">Facebook</a></li>{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if isset .Params "bureau" }}
|
||||
<br>
|
||||
<div class="container md">
|
||||
|
Reference in New Issue
Block a user