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

8 lines
249 B
Markdown
Raw Permalink Normal View History

2022-06-23 22:12:32 +02:00
{{- $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 }}
---