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:
parent
42ed7538c8
commit
1934c173a6
6
archetypes/blog.md
Normal file
6
archetypes/blog.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
lastmod = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
|
@ -1,5 +1,6 @@
|
|||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
lastmod = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
||||
|
|
Loading…
Reference in a new issue