Skip to content
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

Pages now appear listed in the Home page along Posts #686

Open
ramiro opened this issue Apr 25, 2024 · 2 comments
Open

Pages now appear listed in the Home page along Posts #686

ramiro opened this issue Apr 25, 2024 · 2 comments
Assignees
Labels

Comments

@ramiro
Copy link
Contributor

ramiro commented Apr 25, 2024

Consider this simple scenario:

You have two pages in the main section:

  • About
  • Contact

created by .md files in content/

Also, a series of blog posts with content under the content/post/ sub-folder.

Before commit f34c219 the home page only showed a list of blog posts.

After that commit (and possibly after fixing #685 to get the build process to finish) it shows the About and Contact pages too.

This seems to be a change of behavior introduced by #665 that affects basic functionality.

@ramiro
Copy link
Contributor Author

ramiro commented Apr 25, 2024

This can be seen with the example site as shipped with the theme:

image

@davidsneighbour davidsneighbour added this to the unplanned milestone Sep 19, 2024
@davidsneighbour
Copy link
Collaborator

I can confirm this. For now you can manually configure this properly by adding the following to your global params section:

mainSections = ["post"]

This should remove all non posts from the more section.

I'll fix this on the demo page and readme after the next release in the coming days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants