templates for blog and default content files

This commit is contained in:
Frank Homburg 2022-05-16 18:19:38 +02:00
parent 722b9fa98b
commit ce9023b96a
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
+++
---
title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}"
@ -8,6 +8,6 @@ date = "{{ .Date }}"
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
+++
---
This is a page about »{{ replace .Name "-" " " | title }}«.

View File

@ -1,6 +1,6 @@
+++
title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}"
---
title = {{ replace .Name "-" " " | title }}
date = {{ .Date }}
#
# Set menu to "main" to add this page to
@ -17,6 +17,6 @@ menu = "main"
# tags are optional
#
# tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
+++
---
This is a page about »{{ replace .Name "-" " " | title }}«.