mirror of
https://github.com/ditatompel/insights.git
synced 2025-01-08 03:12:06 +07:00
Feat: Add frontmatter
.lastmod
by default
This commit is contained in:
parent
4a57cc5069
commit
8a8c96afa6
5 changed files with 11 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
lastmod:
|
||||
draft: true
|
||||
description:
|
||||
noindex: false
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
title: "{{ replace .Name "-" " " | title }}"
|
||||
# linkTitle:
|
||||
date: {{ .Date }}
|
||||
lastmod:
|
||||
draft: true
|
||||
description:
|
||||
noindex: false
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
lastmod:
|
||||
draft: true
|
||||
description:
|
||||
resources:
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
title: "{{ replace .Name "-" " " | title }}"
|
||||
# linkTitle:
|
||||
date: {{ .Date }}
|
||||
lastmod:
|
||||
draft: true
|
||||
description:
|
||||
noindex: false
|
||||
|
|
|
@ -81,6 +81,13 @@ taxonomies:
|
|||
build:
|
||||
writeStats: true # required by PurgeCSS.
|
||||
|
||||
frontmatter:
|
||||
lastmod:
|
||||
- lastmod
|
||||
- :git
|
||||
- :fileModTime
|
||||
- :default
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
|
|
Loading…
Reference in a new issue