Utiliser la date du dernier commit Git dans le footer
This commit is contained in:
@@ -5,6 +5,7 @@ title: Richard Dern
|
|||||||
copyright: "© Richard Dern"
|
copyright: "© Richard Dern"
|
||||||
disableHugoGeneratorInject: true
|
disableHugoGeneratorInject: true
|
||||||
enableEmoji: true
|
enableEmoji: true
|
||||||
|
enableGitInfo: true
|
||||||
timeZone: Europe/Paris
|
timeZone: Europe/Paris
|
||||||
theme: ["2026"]
|
theme: ["2026"]
|
||||||
security:
|
security:
|
||||||
|
|||||||
@@ -48,10 +48,10 @@
|
|||||||
</li>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
{{- with .Lastmod -}}
|
{{- with .GitInfo -}}
|
||||||
<p>
|
<p>
|
||||||
Dernière modification de cette page :
|
Dernière modification de cette page :
|
||||||
<time datetime="{{ .Format "2006-01-02T15:04:05Z07:00" }}">{{ printf "%s à %s" (. | time.Format ":date_long") (. | time.Format "15:04") }}</time>
|
<time datetime="{{ .CommitDate.Format "2006-01-02T15:04:05Z07:00" }}">{{ printf "%s à %s" (.CommitDate | time.Format ":date_long") (.CommitDate | time.Format "15:04") }}</time>
|
||||||
</p>
|
</p>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user