{{ .Title }}
+Publié le {{ or .PublishDate .LastModified }} + {{ with or (.Param "author") (.Site.Param "author") }}par {{ . }}{{ end }}
+ {{ .Summary }} {{ if .Truncated }} - Lire plus sur « {{ .Title }} » + {{ end }}diff --git a/assets/style/main.scss b/assets/style/main.scss index 4962373..4c46133 100644 --- a/assets/style/main.scss +++ b/assets/style/main.scss @@ -215,6 +215,17 @@ article:not(:last-of-type)::after { ); } +// Colorisation des éléments moins importants. +#publication-information { + padding-left: 4ch; + color: $bg2; +} + +// Décalagu du lien "lire plus". +#read-more { + padding-left: 4ch; +} + // Séparation du pied de page footer { margin: 0; diff --git a/layouts/page.html b/layouts/page.html index 33e594f..b52afe4 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -1,6 +1,9 @@ {{ define "main" }}
Publié le {{ .PublishDate }} + {{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }}
+ {{/* Pourquoi 32, bah pourquoi pas ? */}} {{/* Non, en vrai ça semble être le taille d'une table des matières vide.*/}} {{ if gt (len .TableOfContents) 32}} diff --git a/layouts/section.html b/layouts/section.html index 5beff0d..9517a4d 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -9,10 +9,13 @@Publié le {{ or .PublishDate .LastModified }} + {{ with or (.Param "author") (.Site.Param "author") }}par {{ . }}{{ end }}
+ {{ .Summary }} {{ if .Truncated }} - Lire plus sur « {{ .Title }} » + {{ end }}