Adding keywords and summary in archtypes

This commit is contained in:
Cristian Ditaputratama 2024-06-05 21:28:14 +07:00
parent dd7184f75b
commit 0ec6578581
Signed by: ditatompel
GPG key ID: 31D3D06D77950979
3 changed files with 22 additions and 18 deletions

View file

@ -1,6 +1,13 @@
---
title: "{{ replace .Name "-" " " | title }}"
description:
# Description will appear in the meta tags and below the title in the blog list
description:
# Summary is used in the RSS description tag
summary:
# Keywords meta tags. If not specified, tags field will be used
keywords:
- example
- example 2
date: {{ .Date }}
lastmod:
draft: true
@ -28,9 +35,4 @@ authors:
# - ditatompel
---
Summary.
<!--more-->
---
Content.

View file

@ -1,7 +1,13 @@
---
title: "{{ replace .Name "-" " " | title }}"
# linkTitle:
description:
description:
# Summary is used in the RSS description tag
summary:
# Keywords meta tags. If not specified, tags field will be used
keywords:
- example
- example 2
date: {{ .Date }}
lastmod:
draft: true
@ -32,9 +38,4 @@ authors:
# - ditatompel
---
Summary.
<!--more-->
---
Content.

View file

@ -1,7 +1,13 @@
---
title: "{{ replace .Name "-" " " | title }}"
description:
# linkTitle:
description:
# Summary is used in the RSS description tag
summary:
# Keywords meta tags. If not specified, tags field will be used
keywords:
- example
- example 2
date: {{ .Date }}
lastmod:
draft: true
@ -31,9 +37,4 @@ authors:
# - ditatompel
---
Summary.
<!--more-->
---
Content.