From 0ec6578581eff2ae0e03309c120d3ac8a4593c50 Mon Sep 17 00:00:00 2001 From: ditatompel Date: Wed, 5 Jun 2024 21:28:14 +0700 Subject: [PATCH] Adding keywords and summary in archtypes --- archetypes/blog.md | 14 ++++++++------ archetypes/docs.md | 13 +++++++------ archetypes/tutorials.md | 13 +++++++------ 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/archetypes/blog.md b/archetypes/blog.md index be96a25..c99bfd5 100644 --- a/archetypes/blog.md +++ b/archetypes/blog.md @@ -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. - - ---- - Content. diff --git a/archetypes/docs.md b/archetypes/docs.md index 9157234..d979ed2 100644 --- a/archetypes/docs.md +++ b/archetypes/docs.md @@ -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. - - ---- - Content. diff --git a/archetypes/tutorials.md b/archetypes/tutorials.md index 75ffc8b..bc31c21 100644 --- a/archetypes/tutorials.md +++ b/archetypes/tutorials.md @@ -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. - - ---- - Content.