Brief
Today i tried to setup static site builder called HUGO, for blogging. It comes in handy once you set up all the parameters. It is a combination of markdown + config files. With few hours of efforts was able to set it up.
Installing HUGO is very straightforward, you can find instructions for your platform here.
Main problems that one could face are:
- version of HUGO and the reference blogs might be outdated, hence please refer to the latest docs of HUGO
- it is worth spending sometime to go through the directory structure
- images and paths can get pretty cumbersome, i could not setup markdown based rendering in hugo for images
- using shortcodes for rendering images in between the content came in handy
HUGO needs some additional setup to get started with Math symbols in blogs using Katex, have attached relevant link in the references for the same.
Below are some commands to get started with HUGO.
Commands
|
|
References
- PaperModX features
- Adding images in HUGO is pain
- Math in HUGO
- Emoji support
- Using Local fonts HUGO
- Shortcodes super useful
- Setting up internal search using pagefind
Written By