This theme powers shouryaps.com. It is forked from Hugo Winston Theme by Zerostatic.
- Change directory to
exampleSite
- Run
hugo serve -D
- Install hugo (Make sure extended version is installed)
- Create a new site
hugo new site sitename
- Add the theme
cd sitename
git init
mkdir themes # run this if themes folder doesn't exists
git submodule add https://github.com/shouryaps/hugo-shouryaps-blog-theme.git themes/hugo-shouryaps-blog-theme
- Copy the example site
cp -a themes/hugo-shouryaps-blog-theme/exampleSite/. .
- Modify the
config.toml
as per required values. Make surethemesDir
value is changed tothemes
, instead of../..
- Delete old posts (
.md
files) fromcontent/posts
- Add a new post
hugo new posts/my-first-post.md
Pages appear in the main menu. These can be created using following command:
hugo new pages/my-first-page.md