Amélioration de l'affichage d'informations annexes.
This commit is contained in:
@@ -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
|
// Séparation du pied de page
|
||||||
footer {
|
footer {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
||||||
|
<p id="publication-information">Publié le {{ .PublishDate }}
|
||||||
|
{{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }}</p>
|
||||||
|
|
||||||
{{/* Pourquoi 32, bah pourquoi pas ? */}}
|
{{/* Pourquoi 32, bah pourquoi pas ? */}}
|
||||||
{{/* Non, en vrai ça semble être le taille d'une table des matières vide.*/}}
|
{{/* Non, en vrai ça semble être le taille d'une table des matières vide.*/}}
|
||||||
{{ if gt (len .TableOfContents) 32}}
|
{{ if gt (len .TableOfContents) 32}}
|
||||||
|
|||||||
@@ -9,10 +9,13 @@
|
|||||||
<article>
|
<article>
|
||||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||||
|
|
||||||
|
<p id="publication-information">Publié le {{ or .PublishDate .LastModified }}
|
||||||
|
{{ with or (.Param "author") (.Site.Param "author") }}par {{ . }}{{ end }}</p>
|
||||||
|
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
|
|
||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
<a href="{{ .RelPermalink }}">Lire plus sur « {{ .Title }} »</a>
|
<p id="read-more"><a href="{{ .RelPermalink }}">Lire plus sur « {{ .Title }} »</a></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user