Correction de la date de publication de la date de l'article.
This commit is contained in:
+5
-2
@@ -1,8 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
<p id="publication-information">Publié le {{ .PublishDate }}
|
||||
{{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }}</p>
|
||||
<p id="publication-information">
|
||||
Publié le {{ (or .PublishDate .LastModified) | time.Format ":date_full" }}
|
||||
à {{ (or .PublishDate .LastModified) | time.Format ":time_short" }}
|
||||
{{ with or (.Param "author") (.Site.Param "author") }}{{ . }}{{ end }}
|
||||
</p>
|
||||
|
||||
{{ with .ReadingTime }}
|
||||
<p id="reading-time">Temps de lecture estimé : {{ . }} minute(s).</p>
|
||||
|
||||
@@ -9,8 +9,11 @@
|
||||
<article>
|
||||
<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>
|
||||
<p id="publication-information">
|
||||
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 }}
|
||||
</p>
|
||||
|
||||
{{ with .ReadingTime }}
|
||||
<p id="reading-time">Temps de lecture estimé : {{ . }} minute(s).</p>
|
||||
|
||||
Reference in New Issue
Block a user