If you've never tried Cloudflare static site hosting, Cloudflare Pages is great for speed and worldwide distribution. One hiccup I encountered because of the way the DNS was setup in Cloudflare when using a custom domain. If you want to include the www prefix, it won’t resolve properly by default and you will see a page error. The problem is Cloudflare just gives an instruction to add a CNAME … [Read more...]
How to Deploy Hugo Static Website to IIS Using Git
Continuing the posts on Hugo website tutorial, after all the setup is done, the question now is about static site hosting. The reality is hosting a static website is very easy so you have a lot of flexibility in choosing your hosting and platform. In fact, you can use Github, Bitbucket or Gitlab to host your static website. This post will show you how you can host your static website on IIS … [Read more...]
How to Setup Visual Studio Code for Hugo Static Site Generator
Based on a few questions on how to setup an environment to edit content using Hugo, here's a few simple steps to follow if you want a quick and easy way to do it. Keep in mind, the beauty of using Hugo is that you are free to use any text editor you like. This is not the only way to do it but this will get you there fast if you don't have anything setup yet. Assumptions Hugo is already … [Read more...]
How to Install Hugo on Windows 10
If you want to do it a bit differently than the instructions from Hugo website, you can do the following steps: Steps to Download and Install Hugo for Windows Download Hugo zip file from Hugo Releases. Extract the zip file and you will see one executable and a couple markdown files. Copy hugo.exe to your root folder, i.e. C:\Hugo\bin\ like so: Now add this path to your … [Read more...]