!Image Description

Basis

Prerequisites

  • Obsidian
  • Hugo
  • Hugo Theme Texify3
  • Git
  • Go
git version
go version
brew install hugo
hugo version
cd ~/work/
hugo new site blog.chrisbrandson.com
cd blog.chrisbrandson.com
git init
git submodule add -f https://github.com/panr/hugo-theme-terminal.git themes/terminal
subl hugo.toml # add from example
# NB must change pagination to pagination.pagerSize
hugo server -t terminal
open http://localhost:1313
# blank site should open
^C to shut down server
git add .
git commit -m "initial commit"
cd content
mkdir posts
rsync -av --delete "~/Obsidian/obsidian-vault/Blog/posts/" "/Users/cjb/work/blog.chrisbrandson.com/content/posts/"
cd ..
hugo server -t terminal
open http://localhost:1313

repeat every time Obsidian content changes