Changelog
I always intended to make a decision about organization once I hit 10 posts. I made some big changes to the website structure today to accommodate new ways of manipulating the post library.
What is new:
-
Only seven posts now show on the home page. I chose the number seven because there are seven days in a week. If I post every day, one week's worth of posts will appear.
-
The eighth post and beyond appear in a list at the end of the home page. People who want to read every post can click into each entry individually.
-
Each post is now stamped with the date and the time. I know this is insane, but it's so I can post multiple times per day (like today).
-
I've written a bash script to automatically create a new folder in my posts folder that is given the current date and time as its title. The script also creates an index.md file inside this new folder at the same time. This ensures that my permalink matches the "date created" data in the post. The script looks like this:
mkpost() { mkdir -p -- src/posts/$(date %Y-%m-%d-%H-%M) && touch -- $_/index.md }
-
I created tag pages so that I can begin to make collections of useful topics. At the moment I'm only using "about", "changelog", and "my-work". This post is included in changelog and can be demonstrated here.
Hope to stop blogging about my blog itself for a little while now :)