Hugo, New Blog
I was thinking of writing more about software engineering as I navigate my career.
I spent this weekend learning more about Hugo for my blog. It is my first time using a static site generator (publicly; I have tried Jekyll way back for fun). Also, I think it might be the first time I am hosting a thing on Vercel. I am using a theme called Paper and have modified it a little.
Maybe I should have a #til
tag that will be similar to https://shime.sh/til/. Or a new Hugo page. Where each post is a small tidbit of something I have learned.
TIL
For now, this section suffices. I learned a couple of things while setting this blog up with Hugo and Vercel.
Shortcodes
Shortcodes will allow me to add some templating into my Markdown file. This is in the About page where you can see the last updated month and year, utilising the .GitInfo
method.
Partials
I had to add a <link rel="me">
for Mastodon verification. I utilised the Partial template to achieve that. However, due to the fact that I was using git submodules
for the theme, I had to copy-paste the layouts/partials/head.html
file over and add in the templating function.