Skip to content

rljacobson/rljacobson.github.io

 
 

Repository files navigation

Blog

The repo for my personal blog at https://www.RobertJacobson.dev/. I switched from Jekyll to Hugo in February 2024.

Required initial setup:

brew install hugo

One-time setup is also required for GitHub repo.

To build and serve locally:

hugo server --buildDrafts --disableFastRender

To create a new page:

hugo new content posts/a-new-post.md

To build for deployment:

hugo

To deploy:

Pushing to GitHub triggers a GitHub Action that deploys changes automatically. The branch to push to is configurable in .github/hugo.yaml and is currently set to main.

git push

Gotcha: CNAME file

Custom domains are stored in a CNAME file in the root of your publishing source.

GitHub creates the CNAME file when you set the custom domain name in the repo settings. Or keep the file in the root of the repo locally.

References

Releases

No releases published

Packages

No packages published