Skip to content

terranix/terranix.github.io

Repository files navigation

terranix.org website

This repository contains the source code for terranix.org / terranix.github.io, a Hugo static site that ships with the in-repo terratheme theme under themes/terratheme/.

How to preview

A justfile wraps the common workflows; run just (or just list) to see them all. The most useful ones:

# Serve a live-reloading preview on http://127.0.0.1:1313/
just serve

# Verify the site (and formatting) builds reproducibly under Nix
nix flake check

# Build the site with the local hugo binary (output in ./public/)
just build

# Build the site through Nix (output symlinked to ./result/)
just build-nix

Authoring content

# Create a new documentation page under content/docs/
just doc <path>

# Create a new news post as a page bundle (with an assets/ folder)
just news-bundle <slug>

# Create a new news post as a single markdown file
just news <slug>

Contributors