summaryrefslogtreecommitdiff
path: root/hugo.toml
blob: ed3e4d7a6797ba12f2e52a613aefe277223aabf8 (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
45
46
47
48
49
50
51
baseURL = "http://localhost:1314/"
title = "RICHARD QIN'S HOME PAGE"
locale = "en"
defaultContentLanguage = "en"
timeZone = "Asia/Shanghai"
uglyURLs = true
disableHugoGeneratorInject = true
disableKinds = ["taxonomy", "term", "sitemap"]
enableRobotsTXT = false

[params]
  owner = "Richard Qin"
  identity = "richard@web:~/"
  description = "Richard Qin's journal, technical notes, projects, and links."
  email = "richard.qin.001@gmail.com"
  sourceURL = "https://codeberg.org/Richard-Qin/rhomepage"
  gitBase = "https://codeberg.org/Richard-Qin/rhomepage/src/branch/main"
  contentLicense = "CC BY-SA 4.0"

[frontmatter]
  date = ["created"]
  lastmod = ["updated"]

[permalinks]
  journal = "/:year/:month/:slug"
  notes = "/:sections/:slug"

[outputs]
  home = ["HTML", "RSS"]
  section = ["HTML"]
  page = ["HTML"]

[outputFormats.RSS]
  mediaType = "application/rss+xml"
  baseName = "rss"

[markup]
  [markup.goldmark]
    [markup.goldmark.extensions]
      [markup.goldmark.extensions.passthrough]
        enable = true
        [markup.goldmark.extensions.passthrough.delimiters]
          block = [['$$', '$$']]
          inline = [['$', '$']]
  [markup.highlight]
    codeFences = false
    guessSyntax = false
  [markup.tableOfContents]
    startLevel = 2
    endLevel = 3
    ordered = false