diff --git a/layouts/page.html b/layouts/page.html index 390b21e..aa1ea43 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -1,8 +1,11 @@ {{ define "main" }}

{{ .Title }}

-

Publié le {{ .PublishDate }} - {{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }}

+

+ Publié le {{ (or .PublishDate .LastModified) | time.Format ":date_full" }} + à {{ (or .PublishDate .LastModified) | time.Format ":time_short" }} + {{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }} +

{{ with .ReadingTime }}

Temps de lecture estimé : {{ . }} minute(s).

diff --git a/layouts/section.html b/layouts/section.html index b8d3a82..00321ae 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -9,8 +9,11 @@

{{ .Title }}

-

Publié le {{ or .PublishDate .LastModified }} - {{ with or (.Param "author") (.Site.Param "author") }}par {{ . }}{{ end }}

+

+ Publié le {{ (or .PublishDate .LastModified) | time.Format ":date_full" }} + à {{ (or .PublishDate .LastModified) | time.Format ":time_short" }} + {{ with or (.Param "author") (.Site.Param "author") }}par {{ . }}{{ end }} +

{{ with .ReadingTime }}

Temps de lecture estimé : {{ . }} minute(s).