Ne pas afficher la météo si aucune date fournie
This commit is contained in:
@@ -36,9 +36,11 @@
|
|||||||
|
|
||||||
{{- partial "asides/keywords.html" . }}
|
{{- partial "asides/keywords.html" . }}
|
||||||
|
|
||||||
|
{{ if .Params.weather }}
|
||||||
<aside>
|
<aside>
|
||||||
{{- partial "render/weather.html" . -}}
|
{{- partial "render/weather.html" . -}}
|
||||||
</aside>
|
</aside>
|
||||||
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user