Please help create a collection #1404
Unanswered
abuturabofficial
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
How did you create the site?
Generated from
chirpy-starter
Description
I want to create a
notes
collection which contains all my notes of different courses I have taken, with preferably having a nesting sub-collection ofnotes/<course name>
. How to achieve it? Any help would be greatly appreciated.Operations you have already tried
I was able to make the collection and the layout of the individual note was of a post, but when I go to
mysite/notes
it lists all the notes files in the plain HTML.How achieve this? I'm a total newbie and tried to follow the official docs, as well as copying some layouts of the
chirpy
theme and putting them in the_layouts
dir, but to no avail. Can someone guide me or point me to the easy-to-understand guide?Anything else?
Currently, I don't have any screenshots as I tried to create collections almost a week ago, and got nowhere, then just gave up.
Today I again tried, by putting
and created
_notes
dir, and also copied thehome.html
from chirpy layouts to the_layouts/notes.html
with the front matter:I also deleted the original front matter of the
home.html
.But today I wasn't even getting anything, but
404 error
when I went tolocalhost:4000/notes
Beta Was this translation helpful? Give feedback.
All reactions