Update archetypes

This commit is contained in:
BBaoVanC 2021-10-09 15:44:21 -05:00
parent 05ed7c33d2
commit b5f90127a0
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
3 changed files with 20 additions and 16 deletions

View File

@ -4,10 +4,6 @@ date = "{{ .Date }}"
toc = true toc = true
draft = true draft = true
description = """
Lorem ipsum
"""
tags = [ tags = [
"awesome", "awesome",
] ]
@ -19,3 +15,13 @@ name = "feature"
src = "something.webp" src = "something.webp"
title = "Some image (image format can be anything; webp is just an example)" 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.
<!--more-->
## Something
All the content below the "more" HTML comment above is part of the article itself.

View File

@ -2,8 +2,14 @@
title = "{{ replace .Name "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
menu = "main" menu = "main"
toc = true 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.
<!--more-->
## Something
All the content below the "more" HTML comment above is part of the article itself.

View File

@ -1,8 +0,0 @@
+++
title = "{{ replace .Name "-" " " | title }}"
toc = true
description = """
Lorem ipsum
"""
+++