Update livres.md template to use dynamic title and date, and correct cover alt text

This commit is contained in:
gribse 2025-06-01 10:57:11 +02:00
parent e8d01c166e
commit 73699df62f

View file

@ -1,6 +1,6 @@
---
title: ""
date: 2025-05-xxT05:00:00
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
date: '{{ .Date }}'
draft: true
ShowToc: false
cover:
@ -8,7 +8,7 @@ cover:
hiddenInList: false # hide on list pages and home
hiddenInSingle: true # hide on single page
image: "images/cover.jpg"
alt: "Couverture de {{ .Title }}"
alt: "Couverture du livre"
relative: true # To use relative path for cover image, used in hugo Page-bundles
ShowBreadCrumbs: true
ShowPostNavLinks: true