Add new archetype for collection with metadata and gallery support
Some checks are pending
/ test (push) Waiting to run
Some checks are pending
/ test (push) Waiting to run
This commit is contained in:
parent
537dc24410
commit
f81e0283a7
1 changed files with 43 additions and 0 deletions
43
archetypes/collection.md
Normal file
43
archetypes/collection.md
Normal file
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date: '{{ .Date }}'
|
||||
draft: true
|
||||
ShowToc: false
|
||||
cover:
|
||||
hidden: false # hide everywhere but not in structured data
|
||||
hiddenInList: false # hide on list pages and home
|
||||
hiddenInSingle: true # hide on single page
|
||||
image: "images/<image>"
|
||||
alt: "<alt text>"
|
||||
caption: "<text>"
|
||||
relative: true # To use relative path for cover image, used in hugo Page-bundles
|
||||
ShowBreadCrumbs: true
|
||||
ShowPostNavLinks: true
|
||||
ShowReadingTime: false
|
||||
tags:
|
||||
- <tag>
|
||||
typewriterSpecs:
|
||||
make:
|
||||
model:
|
||||
logo:
|
||||
image: "images/<image>"
|
||||
linkWiki:
|
||||
linkTpdb:
|
||||
type: ""
|
||||
dateManufactured: 1980
|
||||
massKg: 100
|
||||
widthCm: 80
|
||||
serialNumber:
|
||||
---
|
||||
|
||||
{{< maec-encadre >}}
|
||||
|
||||
|
||||
{{< figure src="images/20250414_153350_lmc_8.4.jpg" alt="Alt text" title="Title">}}
|
||||
|
||||
|
||||
{{< gallery caption-effect="none">}}
|
||||
{{< figure src="images/xxx" alt_text="" title="" caption="">}}
|
||||
{{< figure src="images/xxx" alt_text="" title="" caption="">}}
|
||||
{{< figure src="images/xxx" alt_text="" title="" caption="">}}
|
||||
{{< /gallery >}}
|
Loading…
Add table
Add a link
Reference in a new issue