# Adding date-based pagination to my site

DevFeed: [Adding date-based pagination to my site](<https://devfeed.tech/articles/adding-date-based-pagination-to-my-site-106006.md>)

Original publisher: [Read original article](<https://www.jvt.me/posts/2026/10/28/date-based-pagination/>)

Author: Jamie Tanna

Published: 2026-10-28T08:36:51Z

Content type: article

Language: en

Sources: [Jamie Tanna](<https://devfeed.tech/sources/articles-on-jamie-tanna-software-engineer.md>)

Topics: [Hugo](<https://devfeed.tech/topics/hugo.md>), [static-site-generator](<https://devfeed.tech/topics/static-site-generator.md>)

Tags: [adapters](<https://devfeed.tech/tags/adapters.md>), [aws](<https://devfeed.tech/tags/aws.md>), [calendar](<https://devfeed.tech/tags/calendar.md>), [claude-opus-5-5](<https://devfeed.tech/tags/claude-opus-5-5.md>), [content](<https://devfeed.tech/tags/content.md>), [hugo](<https://devfeed.tech/tags/hugo.md>), [indieweb](<https://devfeed.tech/tags/indieweb.md>), [operational](<https://devfeed.tech/tags/operational.md>), [pagination](<https://devfeed.tech/tags/pagination.md>), [s3](<https://devfeed.tech/tags/s3.md>), [www-jvt-me](<https://devfeed.tech/tags/www-jvt-me.md>)

## AI overview

Date-based pagination in Hugo makes it possible to browse posts by month, such as visiting `/posts/2026/10/` to see October entries. For a site with roughly 46,000 mixed IndieWeb posts, the author says ordinary paginated feeds can shift on each new post and trigger rebuilds of potentially about 1 GB of HTML for deployment to AWS S3. The author says Hugo Content Adapters made date-based pagination possible and also enabled a heatmap-like calendar of posting frequency, with further tweaks still planned.

## Source excerpt

🤖 This post includes some LLM-derived content 🤖 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 Claude Opus 5.5 to create a heatmap-ish calendar for how frequently posts exist i.e. from my home page: Hopefully this is useful - I've still got some tweaks to do, and feedback welcome!