-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.dev.yaml
103 lines (93 loc) · 1.94 KB
/
hugo.dev.yaml
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
baseURL: "http://localhost:1313/"
defaultContentLanguage: "en"
defaultContentLanguageInSubdir: true
title: "CRINGE.LIVE"
theme: "cringe-theme"
disablePathToLower: true
enableGitInfo: true
enableLastMod: true
# Taxonomies
taxonomies:
tags: tags
# Taxonomy settings
permalinks:
tags: /tags/:slug
# Output settings
outputs:
home: ["HTML", "RSS", "JSON", "SITEMAP"]
section: ["HTML", "RSS", "JSON"]
taxonomy: ["HTML", "RSS", "JSON"]
term: ["HTML", "RSS", "JSON"]
page: ["HTML", "JSON", "AMP"]
outputFormats:
AMP:
mediaType: "text/html"
path: "amp"
baseName: "index"
rel: "amphtml"
isHTML: true
permalinkable: true
noUgly: true
protocol: "http://"
notAlternative: false
JSON:
mediaType: "application/json"
baseName: "index"
isPlainText: true
notAlternative: true
languages:
en:
languageCode: "en-US"
languageName: "English"
contentDir: "content/en"
title: "CRINGE.LIVE"
weight: 1
# Markup configuration
markup:
goldmark:
renderer:
unsafe: true # Allows raw HTML in markdown
parser:
attribute:
block: true
title: true
autoHeadingID: true
extensions:
passthrough:
enable: true
delimiters:
block:
- - '\['
- '\]'
- - '$$'
- '$$'
inline:
- - '\('
- '\)'
- - '$'
- '$'
highlight:
style: "catppuccin-latte"
tableOfContents:
startLevel: 1
endLevel: 6
# Logging configuration
ignoreErrors:
- "error-remote-getjson"
ignoreLogs:
- "warning-goldmark-raw-html"
# Server configuration
server:
headers:
- for: /**
values:
Access-Control-Allow-Origin: "*"
Access-Control-Allow-Methods: "GET, POST, OPTIONS"
Access-Control-Allow-Headers: "*"
# URL configuration
uglyURLs: false
relativeURLs: true
canonifyURLs: true
# Parameters
params:
math: true