summaryrefslogtreecommitdiffhomepage
path: root/web/hugo.toml
blob: 6a833df465ecd066ebb082929ecbca7a8ee086d5 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Site configuration.  The site lives in web/ and is built with Hugo:
#
#   hugo server --source web     # http://localhost:1313/
#   hugo --source web --minify   # -> web/public/
#
# baseURL is the deployed address; --baseURL overrides it for a preview.

baseURL = "https://zash.example.org/"
title = "zash"
locale = "en-us"
enableRobotsTXT = true
# No taxonomies: every page is written by hand.
disableKinds = ["taxonomy", "term"]

# The pages are ours, so the few <p class="lede"> blocks are allowed through.
[markup.goldmark.renderer]
  unsafe = true

# The sidebar lists a page's own headings.  Two levels: the documents use
# section headings for chapters, and the third level is too long for a column.
[markup.tableOfContents]
  startLevel = 2
  endLevel = 2
  ordered = false

# Classes, not inline styles: assets/css/chroma.css is generated from the same
# style, so a code block sits in the page instead of a monokai box.
[markup.highlight]
  noClasses = false
  style = "tokyonight-night"

[params]
  description = "A small, fast POSIX shell for z/OS UNIX System Services, in the Almquist (ash) tradition."
  repo = "https://github.com/skurtz97/zash"

[[menu.main]]
  name = "Docs"
  pageRef = "/docs"
  weight = 10

[[menu.main]]
  name = "GitHub"
  url = "https://github.com/skurtz97/zash"
  weight = 20