Jack Jackson 32ca68ed46
All checks were successful
Mirror to GitHub / build-and-push (push) Successful in 24s
Gitea Actions Demo / update-deployment-repo (push) Has been skipped
Gitea Actions Demo / build-and-push (push) Successful in 2m38s
Additions to uses page
2025-04-22 10:22:52 -07:00
2025-04-22 10:22:52 -07:00
2025-03-01 23:37:22 -08:00
2021-11-07 20:54:06 -08:00
2022-09-27 12:05:03 -07:00

Installation

  • Install hugo (if you have set up your pi with pi-tools, this will already be done):
    • latestHugoVersion=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases | jq -r '.[] | .tag_name' | perl -pe 's/^v//' | sort -V | tail -n 1)
    • wget -q -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${latestHugoVersion}/hugo_${latestHugoVersion}_Linux-ARM.deb
    • sudo apt install /tmp/hugo.deb
  • git submodule init && git submodule update --recursive

Use

Content is stored in blog/. All hugo commands below should be executed from there. This top-level directory is just for package metadata, README.md, etc.

  • To create a new post, run hugo new posts/<name>.md (or, run np.sh <name> from the root directory)
  • To start a local server to check how it looks, run hugo server (with -D to show drafts)
Description
No description provided
Readme 8.2 MiB
Languages
CSS 52.4%
HTML 43.6%
JavaScript 3.8%
Dockerfile 0.2%