Intro
- We’ll be using
yml/yaml
format for all examples down below, I recommend usingyml
overtoml
as it is easier to read. - You can find any YML to TOML converters if necessary.
Guide
Follow Quick Start guide to setup - and create a new site.
Note: Use -f to select yml format
hugo new site <name of site> -f yml
Make sure you install latest version of hugo(>=0.83.0)
.
After you have created a new site, at Step 3 follow the steps:
Method 1
Inside the folder of your Hugo site, run:
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
+
+and create a new site.Note: Use -f to select yml format
hugo new site <name of site> -f yml
Make sure you install latest version of hugo(>=0.83.0)
.
After you have created a new site, at Step 3 follow the steps:
Method 1
Inside the folder of your Hugo site, run:
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
Note: You may use --branch v5.0
to end of above command if you want to stick to specific release.
Updating theme :
cd themes/PaperMod
git pull
Method 2
you can use as submodule with
git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod