Use adoc and toml front matter for default archetype

This commit is contained in:
Marko Korhonen 2022-06-10 17:11:26 +03:00
parent 0051764f08
commit e57db3f6f1
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 5 additions and 6 deletions

5
archetypes/default.adoc Normal file
View file

@ -0,0 +1,5 @@
+++
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
draft = true
+++

View file

@ -1,6 +0,0 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---