Blog pagination support in blogc

After taking quite a break on working on my website I decided to finally add pagination support for the blog on my website, which you are currently reading.
Since I set up my website on blogc it just made sense to keep using that and even though I had quite a hard time figuring stuff out, again, as there is only documentation to work with, I pulled it off.

As it is now, the blog shows 1 blog entry per site, which I might change in the future once I modify the CSS a bit to make distinguishing between posts easier. Currently the only way to distinguish between them is via the newly added header for every post, which is in orange, being the standard link color.

From anywhere on the site you can get to the blog by clicking the blog entry at the top of my page as usual, which will direct you to the newest entry of the blog. At the bottom of each blog site you can find some navigation, allowing you to navigate to the next and previous blog.
At the top of each entry you can see the title of the entry, which is a permanent link to the entry it describes. This is needed since you won’t be able to point to the same blog entry once new ones are uploaded or old ones are deleted. With the permanent link you can always access the blog entry as long as it’s still on the server.

Further things to implement are:

  • Index of the blog showing each blog entry
  • Jumping to the first/last entry
  • RSS feed
  • showing the date of publication for a blog entry
  • adding some sort of box to each entry
Do you have a comment on one of my posts? Feel free to send me an E-Mail: witcher@wiredspace.de
To participate in a public discussion, use my public inbox: ~witcher/public-inbox@lists.sr.ht
Please review the mail etiquette.

Posted on: February 18, 2021

Articles from blogs I read

OpenSSH introduces options to penalize undesirable behavior

In a recent commit, Damien Miller (djm@) introduced the new sshd(8) configurations options, PerSourcePenalties and PerSourcePenaltyExemptList, to provide a built in facility in sshd(8) itself to penalize undesirable behavior, and to shield specific client…

via OpenBSD Journal June 7, 2024

Your Node is Leaking Memory? setTimeout Could be the Reason

This is mostly an FYI for node developers. The issue being discussed in this post has caused us quite a bit of pain. It has to do with how node deals with timeouts. In short: you can very easily create memory leaks [1] with the setTimeout API in node. You…

via Armin Ronacher's Thoughts and Writings June 5, 2024

The state of SourceHut and our plans for the future

Good morning! It’s been a tough year for SourceHut and I know many of our users are waiting to hear from us. Our last update was the post-mortem following the DDoS attack we sustained in January, and we have some additional news following this update as well…

via Blogs on Sourcehut June 4, 2024

Generated by openring