You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Jack Jackson fc5bae4b91 Remove nginx.conf 5 days ago
blog Grafana-oncall entry 1 week ago
.drone.yml Switch to using Gitea Docker registry 5 days ago
.gitignore Remove and .gitignore `resources` directory 9 months ago
.gitmodules first commit 11 months ago
Dockerfile Treating People As Things snippet entry 2 months ago
README.md Add README with installation instructions 5 months ago
kubernetes-resources.yml Comment explaining secure registry interaction 3 months ago
np.sh Expand EDITOR options in np.sh 3 months ago

README.md

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)