diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e69de29..4c5c352 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -0,0 +1,19 @@ +{{ define "main" }} + + + + {{.Title}} + + + {{.Content}} + + + + {{ range .Pages }} + + {{.Date.Format "2006-01-02"}} | {{.Title}} + + {{ end }} + + +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ddcb178..e5de733 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,43 +2,29 @@ {{ .Title }} - {{ .Date.Format "2006-01-02" }} + + Publié le : {{ .Date.Format "2006-01-02" }} + {{ with .Params.categories }} + Catégories : + + {{ range . }} + {{ . }} + {{ end }} + + {{ end }} + {{ with .Params.tags }} + Tags : + + {{ range . }} + {{ . }} + {{ end }} + + {{ end }} + {{ .Content }} - -{{/* - - -*/}} {{ end }}