An attempt at creating a blog using markdown.
I'm trying out hugo.
hugo new content posts/post-name.md
.
hugo server -D
will include drafts.
hugo
Add --cleanDestinationDir
to remove other things.
Site is published automatically on push to main. It's hosted on github pages.
Followed the help in these pages to set up github actions to push to github pages, with a custom domain and https: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site
Set up prettier, but don't wanna install it again, so just using whatever is in vscode.
See .github/workflows/hugo.yml
for the script that publishes on commit to
main. I found that somewhere, but I've changed it a lot, since I wanted to use
docker to build.