Hugo Image Path Refactoring

Make the best of Hugo page resources

Goal To set up a reasonable content structure for my blog. Before Hugo In my old Octopress blog, images and posts were placed under source/images/posts and source/_posts folders respectively. They were so far apart that I needed to use copy and paste the URL’s so as to get them right. As the size of the blog grew, I could hardly retrieve an image without first listing the files in the post image folder. [Read More]
Hugo 

Configure UFW for Hugo

Simple Linux firewall settings for home computers

Easy Linux tips project recommends users to enable their firewall. However, this blocks all incoming traffic by default. If one wants to test the site on mobile devices, one will need to add a few rules to UFW. $ sudo ufw allow ssh $ sudo ufw allow http $ sudo ufw allow https $ sudo ufw allow 80/tcp $ sudo ufw allow 1313/tcp comment "hugo server" I learnt the last line from 竹内電設. [Read More]
Hugo  Linux  UFW 

My First Post

Introduction Hello World! This is my new GitLab page powered by Hugo. I’m setting up this blog to practise my math, foreign languages and IT skills. Why Hugo? My original goal is to set up a personal blog for posting math. I used to work with Octopress, but resolving the dependencies and other technical issues had actually took much more time and effort than expected. As a result, I digressed a lot from my studies to look into those problems. [Read More]