2025-09-02 11:25:00
hamatti.org
Varun wrote about
gamifying blogging and personal website maintenance
which reminded me of the time when
I awarded myself some badges for blogging.
I mentioned this to Varun who asked if I had any screenshots of what it looked
like on my website. My initial answer was “no”, then I looked at Wayback
Machine but there were not pictures of the badges.
Then, a bit later it hit me. I don’t need any archived screenshots: my website
is built with Eleventy and it’s static so I can check out a git commit from
the time I had those badges up, fire up Eleventy and see the website — as it
was in the spring of 2021.
That’s a beauty of a static site generator combined with my workflow of
fetching posts from CMS before build time so each commit contains a full
snapshot of the website.
Comparing this to a website that uses a database for posts (like WordPress) or
a flow where posts from CMS are not stored in version control but rather
fetched at build time only, my solution makes time travel to (almost) any
given moment in time a two-command operation (git checkout
with the right commit hash and
@11ty/eleventy serve
to serve a dev
server). I say almost because back in the day I wasn’t quite as diligent in
commiting every change as I was deploying manually and not through version
control automation.
A year ago, inspired by Alex Chan’s blog post
Taking regular screenshots of my website
I set up a GitHub Action that takes a snapshot of my front page once a month
to keep a record. At the time, I felt bit sad that I hadn’t started it before.
However, now that I realised how easy it is for me to go back in time thanks
to Eleventy and git, I’m not so worried anymore. Maybe I should do a collage
of changes on my design one day by going through my project history.
One more major point for static site generators!
If something above resonated with you, let’s start a discussion about it! Email me at juhamattisantala at gmail dot com and share your thoughts. In 2025, I want to have more deeper discussions with people from around the world and I’d love if you’d be part of that.
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Help Power Techcratic’s Future – Scan To Support
If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.
As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!
BITCOIN bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge Scan the QR code with your crypto wallet app |
DOGECOIN D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA Scan the QR code with your crypto wallet app |
ETHEREUM 0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a Scan the QR code with your crypto wallet app |
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.