September 12, 2017

Time for a website

My set up For this site I’ll be using Hugo, a static site generator that I’ve been using for several projects at the moment. Because in my search for a good and easy solution to host on Github pages I didn’t find a good source of information, I will start off with giving a short guide on how I set up my site. Assuming that you have set up your website using the guide on the Hugo website you will have a folder with the source of your website. To deploy to Github Pages you will need to create a repository that has the index.html file at the root on the master branch. Unfortanetly Hugo builds the pages into a folder named public. To overcome this, I have a solution based on this approach. I keep the source for the website in my local repository on a develop branch, and the build on the master. Read more