Add lastmod to default archetype and add blog arch

Added the lastmod parameter to default.md archetype and added a blog.md
archetype that contains the `delang = false' parameter.
This commit is contained in:
c47 2024-02-20 21:11:55 +01:00
parent 42ed7538c8
commit 1934c173a6
Signed by: c47
SSH key fingerprint: SHA256:FIo5G1VJnESaIB/8N5lcc2IDuZ02Sl2Qyye15i4w7jQ
2 changed files with 7 additions and 0 deletions

6
archetypes/blog.md Normal file
View file

@ -0,0 +1,6 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
lastmod = {{ .Date }}
draft = true
+++

View file

@ -1,5 +1,6 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
lastmod = {{ .Date }}
draft = true
+++