If creating a new entry via the terminal:
- The Hugo terminal command for creating a new
editor
is:
This will create new file athugo new editor/name-surname.md
content/editor/name-surname.md
. The new file will be created according to the archetype for articles atroot/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 committing or publishing new content.
If creating a new entry via the online preview page:
- the new entry will be empty. Please use the sample §⁄YAML header below as starting point, and also copy to the new file the §⁄instructions provided below.
1. Sample YAML Header¶
---
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
---
2. Archetype content¶
Name Surname is ….
contact: something at something dot edu
3. Instructions for editor-file creator/editor¶
- Filename should follow the convention:
name-surname.md
- File creator insert your own name in the
author
field. - Set affiliation if applicable (
affiliation: "Some University"
) - Fill in content:
- bio
- contact email
- Delete this section.
- Set draft flag (note that
draft: false
will make this entry public). - Git commit and push your changes if/when applicable, providing a commit message describing your changes.