Templating
This commit is contained in:
parent
c381ac5757
commit
031bc13507
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
30
themes/nluug/archetypes/default.md
Normal file
30
themes/nluug/archetypes/default.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
categories:
|
||||
- cat1
|
||||
- cat2
|
||||
date: {{ .Date }}
|
||||
description: "Placeholder: duidelijke beschrijving"
|
||||
slug:
|
||||
tags:
|
||||
- tag1
|
||||
- tag2
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
draft: true
|
||||
---
|
||||
|
||||
# Titel van pagina
|
||||
|
||||
## Heading level 2
|
||||
|
||||
Dit is een [link](https://example.com/) naar example.com.
|
||||
|
||||
### Heading level 3
|
||||
|
||||
* Lijstitem 1
|
||||
* Lijstitem 2
|
||||
* Lijstitem 3
|
||||
|
||||
## Opgelet
|
||||
|
||||
Standaard staat het document op draft, deze regel in frontmatter dient verwijderd te worden.
|
||||
|
|
@ -4,7 +4,6 @@ categories:
|
|||
- cat2
|
||||
date: {{ .Date }}
|
||||
description: "Placeholder: duidelijke beschrijving"
|
||||
lastmod: {{ .Date }}
|
||||
tags:
|
||||
- tag1
|
||||
- tag2
|
||||
|
|
Reference in a new issue