aboutsummaryrefslogtreecommitdiff

Journal

The live Gemini capsule is available at gemini://nicholasjohnson.ch.

The live website is available at https://nicholasjohnson.ch.

Generate Locally

Required Software

  • git
  • git annex
  • hugo

Commands

git clone --recursive https://git.nicholasjohnson.ch/journal && cd journal
git branch --track git-annex origin/git-annex
git annex pull  # this may take some time
hugo -e gemini  # generate capsule in directory "public/capsule"
hugo -e web     # generate website in directory "public/website"

Commit Hugo Pages

To grammar check Hugo pages prior to commit, configure the Git hook. This step is optional.

Required Software

  • language_tool_python

Commands

chmod +x hooks/pre-commit
git config --local core.hooksPath hooks