cd ~/git/blog/marzelwidmer.github.io
hugo -t github-style
cd public
git add . && git commit -m 'chore: publishing' && git push
Creating a Blog with Hugo and Github in 10 minutes
git clone [email protected]:marzelwidmer/blog.git
cd blog
hugo new site marzelwidmer.github.io
cd marzelwidmer.github.io
cd themes
git clone https://github.com/niklasbuschmann/contrast-hugo.git
cd ..
vi hugo.toml
baseURL = 'https://marzelwidmer.github.io/'
languageCode = 'en-us'
title = 'Marcel Widmer'
theme = 'contrast-hugo'
hugo new posts/myposts.md
vi content/posts/myposts.md
+++
title = 'Myposts'
date = 2024-02-17T12:42:12+01:00
# draft = true
+++
Test content.
hugo server
git submodule add -b main [email protected]:marzelwidmer/marzelwidmer.github.io.git public
hugo -t contrast-hugo
cd public/
git add . && git commit -m 'chore: test publishing' && git push