Repository navigation
Expand file tree
/
Copy pathconfig.toml
More file actions
51 lines (50 loc) · 2.3 KB
/
Copy pathconfig.toml
File metadata and controls
51 lines (50 loc) · 2.3 KB
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 = "https://ida-mdc.github.io/workshop-visualization"
languageCode = "en-us"
title = "3D Data Visualization Workshop"
theme = "hugo-theme-helmholtz-imaging-workshop"
# Hugo's data directory, moved off its default name. `.gitignore` carries a
# `data` rule from before this site, and a bare pattern like that matches at
# every level - so it swallowed both Hugo's own data/ and static/data/, and
# the tool tables silently never reached the repository. Renaming the
# directory is less fragile than teaching the ignore file about two of them.
dataDir = "sitedata"
# Pages the current edition does not teach are marked `draft: true`, so they
# are not built. A {{< ref >}} pointing at one is then a broken reference,
# which Hugo treats as a fatal error by default - and one cross-reference into
# a parked page should not stop the site building. Warn and carry on; the link
# comes back the moment the page is un-drafted.
refLinksErrorLevel = "warning"
[markup.goldmark.renderer]
unsafe= true
canonifyURLs= true
[params]
# Where the decks load images from. Empty means "use the local static/img",
# which is what you want when running `hugo server` locally. CI overrides it
# with HUGO_PARAMS_IMAGEBASE, pinning images to the deployed commit so that
# archived editions keep serving the images they were built with.
imageBase = ""
# The edition being taught; shown in the footer. CI overrides it to match.
edition = "2026-workshop"
# Where the source lives, for "edit this / send a PR" links on the slides.
# The git remote is GitLab, but the published deck and the copy people can
# open and fork is the GitHub mirror behind the baseURL above.
repo = "https://github.com/ida-mdc/workshop-visualization"
[params.mermaid]
enable = true
[params.plantuml]
enable = true
[markup]
[markup.highlight]
guessSyntax = "false"
# `hugo server` only - it has no effect on a built site.
#
# Hugo's dev server sends Last-Modified and no Cache-Control, so a browser
# falls back to heuristic freshness: it may reuse a file for 10% of its age
# without asking the server at all. On a day-old file that is hours, and the
# scenes under static/js are hand-edited files the server never fingerprints -
# so an edit lands, the page is reloaded, and nothing changes.
[server]
[[server.headers]]
for = "/**"
[server.headers.values]
Cache-Control = "no-store"