Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Incorrect name for archetype? #42

Closed
QuLogic opened this issue May 1, 2019 · 1 comment
Closed

Incorrect name for archetype? #42

QuLogic opened this issue May 1, 2019 · 1 comment

Comments

@QuLogic
Copy link
Contributor

QuLogic commented May 1, 2019

In the config example, it says:

# dir name of your blog content (default is `content/posts`)

and according to hugo's archetype docs, it will look in:

  1. archetypes/posts.md
  2. archetypes/default.md
  3. themes/my-theme/archetypes/posts.md
  4. themes/my-theme/archetypes/default.md

but the file in this repo is named post.md. Shouldn't it be named posts.md?

@panr
Copy link
Owner

panr commented May 24, 2019

It depends. The name could be anything you want. I have in my setup content/post/.. and archetype/post.md. So when I want to create a new post from archetype I'll do it like this: hugo new post/some-title.md.

But you're right. Comment in the config file could be misleading. I'll fix that ;-)

panr added a commit that referenced this issue May 24, 2019
@panr panr closed this as completed May 24, 2019
MoritzFago pushed a commit to MoritzFago/hugo-theme-terminal that referenced this issue Jan 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants