Feat: Add frontmatter.lastmod by default

This commit is contained in:
Cristian Ditaputratama 2023-05-26 02:17:39 +07:00
parent 4a57cc5069
commit 8a8c96afa6
Signed by: ditatompel
GPG key ID: 31D3D06D77950979
5 changed files with 11 additions and 0 deletions

View file

@ -1,6 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
lastmod:
draft: true
description:
noindex: false

View file

@ -2,6 +2,7 @@
title: "{{ replace .Name "-" " " | title }}"
# linkTitle:
date: {{ .Date }}
lastmod:
draft: true
description:
noindex: false

View file

@ -1,6 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
lastmod:
draft: true
description:
resources:

View file

@ -2,6 +2,7 @@
title: "{{ replace .Name "-" " " | title }}"
# linkTitle:
date: {{ .Date }}
lastmod:
draft: true
description:
noindex: false

View file

@ -81,6 +81,13 @@ taxonomies:
build:
writeStats: true # required by PurgeCSS.
frontmatter:
lastmod:
- lastmod
- :git
- :fileModTime
- :default
markup:
goldmark:
renderer: