aboutsummaryrefslogtreecommitdiff

Richard Qin's Home Page

A small, document-first personal site built with Hugo, semantic HTML, and one CSS file. It has no JavaScript, theme, front-end package manager, external font, analytics, tracking, or cookies.

Requirements

  • Hugo 0.165.0 or newer
  • POSIX sh
  • Make

Local use

make build
make serve
make clean

make build recreates public/ and runs Hugo. Each document links to its Markdown source in the Git repository. The default BASE_URL is http://localhost:1314/; pass BASE_URL=https://example.org/ to generate absolute production URLs. make serve prepares that same output before starting Hugo at http://localhost:1314/; override the port with make serve PORT=8080. Hugo rebuilds the site while serving.

The source repository URL, per-file Git base URL, and public email are configured once in hugo.toml.

Licensing

Site code and templates are licensed under GPL-3.0-or-later; see COPYING.

Unless an individual document states otherwise, prose and other site content are licensed under CC BY-SA 4.0.