templates for blog and default content files

main
Frank Homburg 2 years ago
parent 722b9fa98b
commit ce9023b96a

@ -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 }}«.

@ -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 }}«.

Loading…
Cancel
Save