~poldi1405/website

ref: d50b6749b04cf47e31afa3cca8ddee905b19df46 website/config.toml -rw-r--r-- 2.1 KiB
d50b6749 — Moritz Poldrack bumped versions 8 months ago
                                                                                
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
baseURL = "https://moritz.sh/"
title   = "Moritz Poldrack"
theme   = ["hugo-notice", "hugo-theme-console"]
copyright = """\
(c) Moritz Poldrack<br>
Email: $(echo "ved.kcardlop.ztirom" | sed s/\\./@/2 | rev)<br>
<small>Unless stated otherwise the contents of this website are released under CC-BY</small>\
"""

languageCode        = "en-us"
enableGitInfo       = true
pluralizeListTitles = false
sectionPagesMenu    = "main"
minify              = true

paginate = 5
summayLength = 15

[markup.goldmark.renderer]
unsafe = true

[frontmatter]
date        = ["date", "publishDate", "lastmod"]
lastmod     = [":git", "lastmod", "date", "publishDate"]
publishDate = ["publishDate", "date"]
expiryDate  = ["expiryDate"]

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

	[outputFormats.Atom]
		mediaType = "application/atom+xml"
		baseName = "index"

	[outputFormats.SearchIndex]
		mediaType = "x-application/search+json"
		baseName = "index"

[mediaTypes]
	[mediaTypes."application/atom+xml"]
		suffixes = ["atom", "atom.xml"] # You can remove the "atom.xml" if you want

	# Redefining RSS media type for the additional suffix
	[mediaTypes."application/rss+xml"]
		suffixes = ["rss", "rss.xml"] # You can remove the "rss.xml" if you want

	# You can set any media type you want but make sure it doesn't have any conflict with
	# other media types (that'll be used by your site, anyway).
	# Here's the list of registered media types for a reference.
	# https://www.iana.org/assignments/media-types/media-types.xhtml
	[mediaTypes."x-application/search+json"]
		suffixes = ["search.json"]

[outputs]
	# .Site.BaseURL/index.* is available
	home = ["HTML", "JSON", "RSS", "ATOM", "SEARCHINDEX"]

	# .Site.BaseURL/$section/index.* is available
	section = ["HTML", "JSON", "RSS", "ATOM"]

[Params]
	intro                   = true
	enableBreadcrumbs       = true
	dateFormat              = "02.01.2006"
	hidePostsOnHome         = true
	notFoundHeader          = "*insert Buzzer here*"
	notFoundMessage         = "No matter what you have been looking for, it is not here."
	useLinkIcons            = true
	enableContentImageZoom  = true
	enableSiteSearch        = true