From b5f90127a046e523e2da4b1a21bf3baaaeb7e53b Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 9 Oct 2021 15:44:21 -0500 Subject: [PATCH] Update archetypes --- archetypes/blog/index.md | 14 ++++++++++---- archetypes/default.md | 14 ++++++++++---- archetypes/generic.md | 8 -------- 3 files changed, 20 insertions(+), 16 deletions(-) delete mode 100644 archetypes/generic.md diff --git a/archetypes/blog/index.md b/archetypes/blog/index.md index feb552f..8a7ac77 100644 --- a/archetypes/blog/index.md +++ b/archetypes/blog/index.md @@ -4,10 +4,6 @@ date = "{{ .Date }}" toc = true draft = true -description = """ -Lorem ipsum -""" - tags = [ "awesome", ] @@ -19,3 +15,13 @@ name = "feature" src = "something.webp" title = "Some image (image format can be anything; webp is just an example)" +++ + +This page is about something. All the content before the "more" HTML comment below will become the summary, which will be used in list pages and in the meta tags on the article. + +Or, if you don't want your description to be at the top of the article, you can set your own `description` in the front matter and it will override this. See the [Content Summaries](https://gohugo.io/content-management/summaries/) page on the Hugo docs for more information. + + + +## Something + +All the content below the "more" HTML comment above is part of the article itself. diff --git a/archetypes/default.md b/archetypes/default.md index cf0eb17..40cbff8 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -2,8 +2,14 @@ title = "{{ replace .Name "-" " " | title }}" menu = "main" toc = true - -description = """ -Lorem ipsum -""" +++ + +This page is about something. All the content before the "more" HTML comment below will become the summary, which will be used in list pages and in the meta tags on the article. + +Or, if you don't want your description to be at the top of the article, you can set your own `description` in the front matter and it will override this. See the [Content Summaries](https://gohugo.io/content-management/summaries/) page on the Hugo docs for more information. + + + +## Something + +All the content below the "more" HTML comment above is part of the article itself. diff --git a/archetypes/generic.md b/archetypes/generic.md deleted file mode 100644 index e225a43..0000000 --- a/archetypes/generic.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -title = "{{ replace .Name "-" " " | title }}" -toc = true - -description = """ -Lorem ipsum -""" -+++