Tuesday 26 May 2020

Using Hugo

I played around with Django (a Python based web framework) all morning and managed to create an extremely simple blog site, but it was pretty complicated and time consuming for someone that wants something to “just work”. After some further Googling I stumbled onto Jekyll (https://jekyllrb.com/) and Hugo (https://gohugo.io/) these are extremely light/small static webpage generators.

 After some further Googling I discovered that you can host (static) websites for free on GitHub Pages AND they allow you to use a custom domain name, so I followed the tutorial here https://pages.github.com/ to create my own GitHub Pages site.

Then I just had to decide whether to go with Jekyll or Hugo, Jekyll has been around longer, is more established, and is based on Ruby. Hugo is newer but is becoming very popular, it’s based on GO, which is also a much newer programming language. There seemed to be a lot of people migrating from Jekyll to Hugo and another negative of using Jekyll is that you have to have Ruby installed locally whereas you don’t need GO installed for Hugo.

So I decided on Hugo, found a theme that seemed alright and here we are. So for the cost of a domain name, you can have a website hosted on Github for free. I’ve got GitHub desktop installed on my laptop so you literally just drag and drop the site that Hugo generates into your GitHub folder and hit the sync button which uploads it to you website.

1 comment:

  1. How To Make Money On Sports Betting
    Online sports betting is available for a whole host of US and European 토토 sports betting markets. Some US https://septcasino.com/review/merit-casino/ states, like งานออนไลน์ Louisiana and septcasino New Jersey, allow poormansguidetocasinogambling

    ReplyDelete

Powered by Blogger.

My Blog List