{{ $cssfonts := resources.Get "fonts.css" }} {{ $fonts := $cssfonts | resources.Minify }} {{ $cssprint := resources.Get "style-print.css" }} {{ $styleprint := $cssprint | resources.Minify }}

{{ .Title }}

{{ with .Params.author }}

{{ . }}

{{ end }} {{ with .Params.year }}

{{ . }}

{{ end }} {{ with .Params.imageCover }}
{{ end }}

Sommaire

{{ with .Site.GetPage "content" "about.md" }}

{{ .Title }}

{{ .Content }}
{{ end }} {{ range where site.RegularPages "Section" "recettes" }}

{{ .Title }}

{{ with .Params.author }}

{{ . }}

{{ end }} {{ with .Params.image }}
Image de la recette : {{ $.Params.titre }}
{{ end }}
{{ with .Params.infos }}
{{ with .niveau }}
Niveau
{{ . }}
{{ end }} {{ with .personnes }}
Personnes
{{ . }}
{{ end }} {{ with .preparation }}
Préparation
{{ . }}
{{ end }} {{ with .cuisson }}
Cuisson
{{ . }}
{{ end }}
{{ end }} {{ with .Params.ingredients }}

Liste des ingrédients

{{ end }}

Préparation

{{ .Content }}
{{ end }}

Design graphique et code: {{ .Site.Params.author }}

Module de Recherche-Création « Construire une publication web & print », EnsAD, 2024

Mis en page avec Paged.js 0.4.3 et généré avec le CMS Hugo

Template par Julie Blanc

Code source: https://gitlab.com/julieblanc-workshops/cookbook-with-hugo