The place where random ideas get written down and lost in time.

2023-11-21 - Rig4 Index

Category DEV

Just a quick thought on something that still bugs me with Rig4’s generated blog:

  • I write pages with 10 posts per page, from 00NN.html down to 0001.html.
  • I then write an index with the 10 most recent posts.

The rationale is:

  • The numbered pages are “stable”: older pages (with lower numbers) don’t change when new posts are added “normally”, that is when posts are added for the most recent day.
    • It’s exceedingly rare that I’d add a “late” post in the middle.
  • The last numbered page fills up and, once it reaches 10 posts, becomes stable.
  • I never link to page numbers, but I do expect them to be indexed by search engines and I’d like these links to become stable.

The downside:

  • The index page necessarily duplicates N < 10 posts from the last page.
  • When clicking the “next page” button from the index, we land on the top most page, which basically duplicates the same content, and that’s a bit confusing.

That last bit is what annoys me. I don’t have a solution for it.


 Generated on 2025-01-18 by Rig4j 0.1-Exp-f2c0035