added archetype YAML sample

This commit is contained in:
constantinos 2023-08-14 16:45:44 +03:00
parent 2fdcba9fd5
commit d62c2c93b1
5 changed files with 76 additions and 1 deletions

View file

@ -22,6 +22,23 @@ hugo new article/article-short-title.md
This will create new file at `content/article/article-short-title.md`. The new file will be created according to the archetype for articles at `root/archetypes/article.md`.
The new file will be created as a draft (`draft: true`) and will contain the instruction steps below. Please complete all required steps before publishing new content.
# Sample YAML header
```
---
title: "Title sample ⚫ 📑"
date: "2023-07-13T14:15:10+03:00"
author: "file-creator-put-your-name-here"
contributors: ["jane-contributor.md"]
draft: true
keywords:
- draft
abstract: |
The text of your abstract.
---
```
# Instructions for article-file creator/editor
0. [x] Put a checkmark to all items of this list that have been completed. This, by changing:

View file

@ -22,7 +22,20 @@ hugo new contributor/name-surname.md
This will create new file at `content/contributor/name-surname.md`. The new file will be created according to the archetype for articles at `root/archetypes/contributor.md`.
The new file will be created as a draft (`draft: true`) and will contain the instruction steps below. Please complete all required steps before publishing new content.
---
# Sample YAML Header
If creating a new entry via the online preview page, the new entry will be empty. Please use the sample YAML file below as starting point, and also copy to the new file the instructions provided below.
```
---
title: "Jane Contributor ⚫ 🧜"
date: "2023-07-13T14:15:20+03:00"
author: "file-creator-put-your-name-here"
affiliation: "Some affiliation (optional; remove line if not applicable)"
draft: true
---
```
# Archetype content
**Name Surname** is ....

View file

@ -22,7 +22,20 @@ hugo new editor/name-surname.md
This will create new file at `content/editor/name-surname.md`. The new file will be created according to the archetype for articles at `root/archetypes/editor.md`.
The new file will be created as a draft (`draft: true`) and will contain the instruction steps below. Please complete all required steps before publishing new content.
# Sample YAML Header
If creating a new entry via the online preview page, the new entry will be empty. Please use the sample YAML file below as starting point, and also copy to the new file the instructions provided below.
```
---
title: "Jane Editor ⚫ ♕"
date: "2023-07-13T14:15:15+03:00"
author: "file-creator-put-your-name-here"
affiliation: "Some affiliation (optional; remove line if not applicable)"
draft: true
---
```
# Archetype content
**Name Surname** is ....

View file

@ -20,6 +20,24 @@ hugo new issue/issue-5.md
```
This will create new file at `content/issue/issue-5.md`. The new file will be created according to the archetype for articles at `root/archetypes/issue.md`. The new file will be created as a draft (`draft: true`) and will contain the instruction steps below. Please complete all required steps before publishing new content.
# Sample YAML header
If creating a new entry via the online preview page, the new entry will be empty. Please use the sample YAML file below as starting point, and also copy to the new file the instructions provided below.
```
---
title: "Issue title ⚫ 📕"
date: "2023-07-13T14:15:05+03:00"
author: "file-creator-put-your-name-here"
draft: true
has_articles: ["article-test.md"]
editors: ["jane-editor.md", "joe-editor.md"]
keywords:
- draft
abstract: |
The text of your abstract.
---
```
# Instructions for issue-file creator/editor
0. [x]  Put a checkmark to all items of this list that have been completed by changing:

View file

@ -21,6 +21,20 @@ hugo new print/p-issue-5.md
This will create new file at `content/print/p-issue-5.md`. The new file will be created according to the archetype for articles at `root/archetypes/print.md`.
The new file will be created as a draft (`draft: true`) and will contain the instruction steps below. Please complete all required steps before publishing new content.
# Sample YAML header
If creating a new entry via the online preview page, the new entry will be empty. Please use the sample YAML file below as starting point, and also copy to the new file the instructions provided below.
```
---
title: "Print Article X ⚫ 🖶"
date: "2023-07-13T16:03:24+03:00"
author: "file-creator-put-your-name-here"
draft: true
print: "article/sample-article.md"
---
```
# Instructions to file creator
File naming