-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Is there any way to show 10 posts per pages? and then we'll click next/prev #179
Comments
IMHO, the core concept of this project is the mapping from a blog page to a Notion page. So it's hard to implement some features like pagination that Notion hasn't provided. I feel the need for pagination too, so I am trying to create a modified version based on this awesome project. Instead of mapping all the pages, I'm focusing on using Notion as a CMS. This weaker bound makes me able to add pagination as a traditional blog site. You can see my current progress here. Feel free to borrow some code or leave your thoughts. Edit: add a link to the source code. |
@fky2015 this looks awesome ❤️ One related feature that I added to my personal site but isn't in the main branch is the ability to have a I use this on my site to view posts filtered by the existence of a tag in a It shows how you can use Notion more as a CMS and customize the data after the initial fetch. |
🤯 Wow, didn't know I can do that! It's a pretty neat way to filter the content without touching the styles. In this case, an index page with pagination can be implemented in the same way. In addition, the But there is still a little problem. How can I get the tags in the gallery card link to the actual page? I'm struggling to achieve that in your method. (I apologize for bringing up this irrelevant question; I've filed a new issue here #252.) |
Agreed, tags would make it a lot more easier to find content, and one of those tags could be displayed by default, such as "Featured" (currently a checkbox, not a tag). I saw a PR for tags landed recently, but I'm not so sure on how to use it, if it's usable at all at this time. |
It'd be phenomenal if a feature could be added. Like we can see 10 posts per page.
Then we'll click next, and It'll show up next ten posts. I think It would be nice. Because many of us are posting a lot. Like 50+. Then the page gets slower.
The text was updated successfully, but these errors were encountered: