-
Notifications
You must be signed in to change notification settings - Fork 854
Open
Description
I'm using a folder to contain image and md file for each post, it works fine with the defalt ananke theme but show nothing when change to terminal
content
├── hugo-new-site
│ ├── image-1.png
│ ├── image.png
│ └── index.md
└── try-terminal
└── index.md
this is how my structure looks like


I try to change the type name
[params]
# dir name of your main content (default is `content/posts`).
# the list of set content will show up on your index page (baseurl).
contentTypeName = "hugo-new-site"
But . hugo-new-site, remaining space or try terminal all these won't work
+++
title = "使用 hugo new 新建post"
date = 2024-12-18T15:01:10+08:00
# draft = false
+++
what header looks like, won't work when comment or uncomment draft
But the post will show when using
hugo server -t ananke

I know that might be a very stupid question, I am a new user of hugo... If you need more information please reply me! Thanks!
isosphere
Metadata
Metadata
Assignees
Labels
No labels