hugo new site edvin_hugo
hugo server -w -v
hugo new content/blog/my-first-post.md
hugo -t coder -d docs
The theme Im using uses hugo extended. You can download it manually from Hugos github If you use normal hugo you will see an error that looks something like this:
ERROR 2020/01/18 21:20:06 Transformation failed: TOCSS: failed to transform "style.coder.css" (text/x-scss): this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Hub is a github cli extension that helps you to create PR:s setup. It makes life easy if you want to create automated PR:s for example.
git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder
git submodule update --init --recursive
First you have to have nodejs & npm installed on your client.
Then install yaspeller.
npm install
npm run spellcheck
git checkout -B blog
# Perfrom changes
git add <new files>
git push --set-upstream origin blog
# Create hej.md, should contain a pr msg
hub pull-request -c -F hej.md
# Now the CI should trigger.