Skip to content

How can I add a new content type? #2945

Answered by DannyQuah
DannyQuah asked this question in Q&A
Discussion options

You must be logged in to vote

I figured out the answer. I need to set permalink in my entries to activate the new type folder "X/". So in my case, I wanted to put my working papers in their own folder working-papers/. The way to do that is to change appropriately the following:

(_config.yml - add working_papers)
(_data/navigation.yaml - add working_papers)
(_working-papers - populate, use permalink)
(_pages/working-papers.html)

All works now. Thanks for listening.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rjzupkoii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
faq Frequently Asked Questions
1 participant