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 }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
|
lastmod:
|
||||||
draft: true
|
draft: true
|
||||||
description:
|
description:
|
||||||
noindex: false
|
noindex: false
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
# linkTitle:
|
# linkTitle:
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
|
lastmod:
|
||||||
draft: true
|
draft: true
|
||||||
description:
|
description:
|
||||||
noindex: false
|
noindex: false
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
|
lastmod:
|
||||||
draft: true
|
draft: true
|
||||||
description:
|
description:
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
# linkTitle:
|
# linkTitle:
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
|
lastmod:
|
||||||
draft: true
|
draft: true
|
||||||
description:
|
description:
|
||||||
noindex: false
|
noindex: false
|
||||||
|
|
|
@ -81,6 +81,13 @@ taxonomies:
|
||||||
build:
|
build:
|
||||||
writeStats: true # required by PurgeCSS.
|
writeStats: true # required by PurgeCSS.
|
||||||
|
|
||||||
|
frontmatter:
|
||||||
|
lastmod:
|
||||||
|
- lastmod
|
||||||
|
- :git
|
||||||
|
- :fileModTime
|
||||||
|
- :default
|
||||||
|
|
||||||
markup:
|
markup:
|
||||||
goldmark:
|
goldmark:
|
||||||
renderer:
|
renderer:
|
||||||
|
|
Loading…
Reference in a new issue