A basic blog website using hugo as framework, and hugo-PaperMod as the website's theme.
- Hugo v0.153.2
- Git 2.49.0 (or latest)
Run this command in the root folder of site:
git submodule update --init --recursivehugo-PaperMod should be cloned automatically to ./themes/PaperMod/.
Go to root folder of site, then run this command:
git submodule update --remote --mergeThen rebuild site using command:
hugoDeploy the website locally via localhost:
hugo serverThe website will be hosted at http://localhost:1313/.
Note
To build website before deploying to the server, use
hugoso <link> tags in /public directory will refer to the baseURL in the config, not using localhost:1313.
Apparently you don't need to rebuild the page if you already setup an actions workflow.