BOUTIQUE

{{ with .Site.GetPage "/livres" }} {{ $actu := . }} {{ range .Resources.ByType "page" }} {{ if or (not .Params.draft) (eq hugo.Environment "development") }}
{{ $src := $actu.Resources.GetMatch (printf "*%s/%s*" (path.Base .File.Dir) (.Params.Image)) }} {{ if $src }} {{ $image := $src.Fill "432x300 Center" }} {{ $alt := index .Params "image_title" | default (index .Params "title") }} {{ $alt }} {{ end }}

{{ .Title }}

{{ .Content }} Acheter
{{ end }} {{ end }} {{ end }}