Friday, September 16, 2022
I’m writing this as I have decided to overhaul this website thoroughly. After months of not posing any new content, I realized the bar I had set was too high when making posts. I was writing raw HTML, and it took lots of tedious work to ensure all posts had consistent styling and feel. I began to cut corners, not even commenting on image sets I took, and I felt this defeated the purpose of having the webpage anyway.
I want this webpage to be a throwback to earlier 2000s blog-style webpages with more of a journal feel, almost as if someone added photos to Zen and the Art of Motorcycle Maintenance.
The rest of this post is a technical deep dive into modern website design.
This blog more closely follows the initially intended design of the internet. The internet is a loaded term, so let me be specific, Hypertext Transfer Protocol. This protocol, used to display webpages in your browser, was designed to share documents between universities. In essence, static pages. No likes, videos, or shitty Netflix specials. All of that technology was an afterthought.
Therefore, the solution is a static site generator. The newest of which is HUGO. HUGO builds off Google’s lust for a compiled, statically typed, hardware accelerated replacement for the ancient C++. GO is computer code designed to perform like a frat boy after four lines of cocaine, and it can smash like three folding tables simultaneously. HUGO leverages this to generate the entire website you see in under 16 milliseconds!
The base content for HUGO is also written in Markdown, a fantastic formatting language a toddler could read.
This is a paragraph! It has some information in it.
# This is a title
(this is a link)[https://harry.technology/]
![this is an image](https://harrysaliba.com/photos/2022-06-16/converted/DSC06088.jpg)
Wow look how easy that post was, glad I didn't waste a whole bunch of time building this system!
This forms the base of this entire webpage, then using HUGO’s templating code and the HTML I already wrote, the transfer only took 28 hours of straight work!
So, I wasted 28 hours to save 5 mins every time I posted. Was it worth it? Absolutely.
Here is a photo of Jasper for your paitence:
50.00mm 1/80s f1.8 iso1000 lens: FE 50mm F1.8 camera: SONY ILCE-7M3