~groovestomp/weblog

Hugo - based static weblog generator sources
5db2acb6 — Aaron Oman 3 years ago
Update website URIs
2ebd602e — Aaron Oman 3 years ago
Update links and base url for new location
9d1d54a3 — Aaron Oman 3 years ago
Support deploying to github and sourcehut

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~groovestomp/weblog
read/write
git@git.sr.ht:~groovestomp/weblog

You can also use your local clone with git send-email.

This is the source for my personal blog at https://groovestomp.github.io/

#Dependencies

#Building

hugo

This outputs to the ./public/ directory.

#Testing

hugo server

Then point a web browser at http://localhost:1313

#Deploying

There are two deploy scripts, both modified from here.

One is for SourceHut, and the other is for GitHub. The GitHub one is legacy, for the old www.groovestomp.com domain where the blog was the site.

#Setup

The target github repository for the published content should first be cloned as a git submodule.

git submodule add -b master <repository> <name>

<name> should be either "sourcehut" or "github" as per the deploy-<name>.sh script.

#Execute

Actual deployment is then just ./deploy-<name>.sh. For GitHub this publishes automatically if you point your domain to .github.io.

For SourceHut this doesn't exist and I have it configured differently anyway. Just pull the published repo on the server.