-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a communityposts collection, and set up a basic sample post on said page #25
Conversation
This is to ensure consistency among the pages. Furthermore, the `.html` extension is omitted in the build process, so the `permalink` is necessary to ensure that the links work as expected.
Good job, @JonathanPartain! I understand and I see that |
@michalspano One alternative is to use the communityposts as the collection, but instead set the title, path and so forth to just "posts" |
Yup, that I believe sounds like a good idea. |
…. changed community posts to be just 'posts', and modified the permalinks
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now! Thanks for the help; approved!
Start of the solution for issue #24
Could not use just "posts" - or at least had difficulties doing it as it is a "reserved" word in a sense, there are existing posts layouts etc. Feel free to come with ideas to improve or changes
In order for pagination to work, index file has to be .html, so some minor changes have been made there as well.