This site is build with Hugo.
-
Clone this git repository
-
Please follow the instructions on Hugo's website on how to install the Hugo CLI on your computer: https://gohugo.io/getting-started/installing/
On MacOS:
brew install hugo
On Windows WSL2:
sudo apt update sudo apt upgrade sudo apt install hugo
-
Initialize the Git submodule
git submodule update --init --remote
-
To preview the site:
hugo serve
Open your browser to: http://localhost:1313
-
To generate the new site:
hugo
This will generate the static contents for the site in
docs
directory. Make a new commit and push to master. -
Add the flag
--forceSyncStatic
for generating non-content static fileshugo --forceSyncStatic
- Add your new post as
title.md
to thecontent
->posts
folder. - Copy the following format for
title.md
---
title: "Title of your new post"
date: YYYY-MM-HHTMM:SS:48+08:00
slug: "title-post"
---
Enter your content here