Update livres.md template to use dynamic title and date, and correct cover alt text
This commit is contained in:
parent
e8d01c166e
commit
73699df62f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue