aboutsummaryrefslogtreecommitdiffstats
path: root/config.toml
blob: 3a27c75e801984471eb11657fc4a6941abf9d5cd (plain) (blame)
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
# We want to serve the same documents at https://marussy.com/
# and at http://marusya3q7ftl4e4iam65wlto67tq5r5lvmib6ij47b5qjq4rtms7vqd.onion/
# Strict CORS headers would prevent loading clearnet content from the onion site,
# but we must make sure never to link to the clearnet site from the onion site.
# Ideally, here we would set a .invalid URL, so absolute URLs always break.
# However, we must set a valid URL here, otherwise <link rel="canonical"> would break.
baseURL = "https://marussy.com/"

languageCode = "en-us"
title = "Kristóf Marussy"
theme = "marussy"

# Again, make sure we never use absolute URLs.
canonifyURLs = false
# Make the site browseable in the local file system (without assuming a particular / directory)
# even if someone mirrors the whole thing with wget.
relativeURLs = true

# Required for ox-hugo codeblock support, see
# https://ox-hugo.scripter.co/doc/source-blocks/
pygmentsCodeFences = true

# Allow customizing highlighting with CSS.
pygmentsUseClasses = true

[permalinks]
    posts = "/:year/:month/:day/:title"

[markup.goldmark.renderer]
    # Required for ox-hugo support, see
    # https://ox-hugo.scripter.co/doc/goldmark/
    unsafe = true

[menu]
    [[menu.main]]
        identifier = "about"
        name = "About"
        url = "/"
    # [[menu.main]]
    #     identifier = "blog"
    #     name = "Blog"
    #     url = "/posts"
    [[menu.main]]
        identifier = "publications"
        name = "Publications"
        url = "/publications"