2 hours ago · Tech · hide · 0 comments

Something I've long wanted is the ability to paginate this Hugo website's pages by day. Given this is an IndieWeb website, I post a mix of content from articles, likes of others' posts and my daily step counts, totalling roughly 46000 posts. Although this may make it easier to browse, it's also an operational want - every time I post something new, each of the feeds on my site that are paginated will move forward one entry, leading to effectively all of my feed pages re-building, leading to potentially ~1GB of HTML re-building and deploying up to AWS S3, which is not ideal! Additionally, having date-based pagination allows someone to "URL hack", by i.e. taking this blog post's URL, https://www.jvt.me/posts/2026/10/28/date-based-pagination/, and browsing to /posts/2026/10/ to see what I've written in October. This is something I've wanted as early as 2020, but has been an ask since 2014 upstream, but thankfully it's now possible using Content Adapters. This also allowed me to get…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.