Improve content template.

This commit is contained in:
Anna Rose 2023-09-13 17:57:41 +00:00
parent 37e96c4293
commit 3386d11255

View File

@ -1,7 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
title: "{{ replace (replace .Name "draft-" "") "-" " " | title }}"
author: "Anna"
date: {{ .Date | .dateFormat (.Site.Params.dateformat)" }}
date: {{ .dateFormat (.Site.Params.dateformat) .Date }}
draft: true
tags:
- tag1