Première intégration de mes livres aux articles
This commit is contained in:
13
themes/42/layouts/_partials/oeuvres.html
Normal file
13
themes/42/layouts/_partials/oeuvres.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{/* Affiche les blocs d'œuvres en fonction de .Params.oeuvres */}}
|
||||
{{- $page := . -}}
|
||||
{{- with $page.Params.oeuvres }}
|
||||
{{- range . }}
|
||||
{{- $oeuvre := . }}
|
||||
{{- if eq $oeuvre "L'Anankéisme" }}
|
||||
{{- partial "oeuvres/l-anankeisme.html" $page }}
|
||||
{{- else if eq $oeuvre "L'Humain, cette espèce primitive" }}
|
||||
{{- partial "oeuvres/l-humain-cette-espece-primitive.html" $page }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user