This repo is used to generate the site hosted on GitHub Pages.
It is a Hugo site with LoveIt theme.
The markdown documents are put under content/posts.
Because GitHub Pages only supports building site from master branch or docs folder of master branch, hugo generates the site and puts files under docs.
- Add
.mdfile tocontent/posts. - Run
hugo --theme LoveIt -d docs. - Push the new files generated to GitHub.
- TODO: enable Travis to do this automatically.
- The
baseURLinconfig.tomlis set tobaseURL = "https://murray-liang.github.io/forgetful". - GitHub Pages of
forgetfulrepo is set to built frommaster branch /docs folder.
sudo apt install hugoto install hugo.git submodule initandgit submodule updateto populate thethemes/LoveItfolder.hugo server -D --bind 172.30.141.10 -d docsto start a development server to verify your change.172.30.141.10is your WSL IP. You need to use it in Chrome in Windows.