blob: 7817c20f8f3a036c372d40c1ce47d4865fcb4f8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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
```sh
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](https://creativecommons.org/licenses/by-sa/4.0/).
|