Clarify date / publishDate
All checks were successful
/ build (pull_request) Successful in 42s

This commit is contained in:
Stefan Bethke 2026-06-13 20:50:55 +02:00
commit 242ef58bc2

View file

@ -61,7 +61,7 @@ To create a new general blog post, run a command like this:
hugo new content --kind article blog/yyyy/yyyy-mm-dd-your-article-title/index.md hugo new content --kind article blog/yyyy/yyyy-mm-dd-your-article-title/index.md
``` ```
If you want to create a blog post from scratch, or convert an event into an blog post, see the frontmatter data in [themes/ccchh/archetypes/article.md](themes/ccchh/archetypes/article.md). In particular, you need to set `categories: article` and remove any `location:`. If you want to create a blog post from scratch, or convert an event into a blog post, see the frontmatter data in [themes/ccchh/archetypes/article.md](themes/ccchh/archetypes/article.md). In particular, you need to set `categories: article` and remove any `date:` or `location:`. Note that `publishDate:` is fine, as it determines when the content will start appearing on the the site.
#### Add an Event Announcement #### Add an Event Announcement
@ -74,7 +74,7 @@ To create a new event blog post, run a command like this:
hugo new content --kind event blog/yyyy/yyyy-mm-dd-your-event-title/index.md hugo new content --kind event blog/yyyy/yyyy-mm-dd-your-event-title/index.md
``` ```
If you want to create an event from scratch, or convert a blog post into an event, see the frontmatter data in [themes/ccchh/archetypes/event.md](themes/ccchh/archetypes/event.md). In particular, you need to set `categories: event` and `location: Z9` (or whereever your event takes place). If you want to create an event from scratch, or convert a blog post into an event, see the frontmatter data in [themes/ccchh/archetypes/event.md](themes/ccchh/archetypes/event.md). In particular, you need to set `categories: event`, `date:` for the date of the event, and `location: Z9` (or whereever your event takes place).
#### Additional Notes on Events and Articles #### Additional Notes on Events and Articles