bunteshaus.de/themes/buha/archetypes/posts/index.de.md

8 lines
249 B
Markdown

{{- $t := replace (replace .Name "-" " ") (now.Format "2006 01 02 ") "" -}}
{{- $d := replace (replace .Name "-" " ") (printf " %s" $t ) "" -}}
{{- $d = replace $d " " "-" | time.Format "2006-01-02Tlala" -}}
---
title: "{{ $t }}"
date: {{ $d }}
---