Home
Projects
Find Me
Portfolio

All Posts:
You can find the code for this site on Github

Another Blog Post About This Blog (updates!)

2025-6-27

Despite not posting here too much, I have had a lot of fun adding little things to the blog over time, so I wanted to document some of them here. This post will continue to be updated if I add new things.

Fun pages

Comments

One of my favorite things I've added is comments. I was actually also working on adding an ability to reply to others' comments but it has been stalled for a few months now. Every time a comment is posted I get a notification from a Discord bot that is running on the same Raspberry Pi hosting this blog. It gives me the option to remove the comment if it is from a bot (there are more of these than you'd think). I also have some very basic moderation commands built into the bot being list (lists all comments), delete [id] (hides comment), and undelete [id] (unhides comment). Each comment's id can be accessed from the HTML id on the element so they are easy to find.

The default name for a comment is Anonymous + a random hexadecimal number from 0-4096 in order to sort out between multiple anonymous people (assuming someone would retype the random number).

All of the comments are stored in an sqlite database.

Below are some images demonstrating the new comments and discord bot (these are from the development bot which is identical but for the development server):

Messages received upon comment
Comment section V1
Commands for the discord bot

Holidays

The site was stuck saying Happy Holidays! with some color additions for a few months, but I felt bad about simply removing it, so I added holiday homepages to the site which will be rendered on the holidays. Right now there is only Christmas, Halloween, Fourth of July, New Years, and Valentine's Day. The text in "Welcome to my blog!" alternates in color which is just done by having each letter in a span and then separate colors for each even and odd element in CSS (different colors depending on the class, normally holiday-none which has no CSS defined for it).

Five holiday texts Flavor headers for holidays

Other new things

Visitor counter! This has been around a while but was not included in the original post. This doesn't actually count individual visitors but instead page visits. It simply displays images of each digit individually, I have an image for each number 0-9.

New pages:

Comments

No comments here yet. You should write one!

Post a comment:

Please don't spam the comments, I get a notification every time. Also please be mature (Nolan)

Message limit: 1500 characters, name limit: 100 characters