forked from bowman2001/perplex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.yaml
130 lines (114 loc) · 2.8 KB
/
hugo.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
### WARNING!
### This is the theme configuration file. Don’t change anything here!
### Use the configuration in your project root to add or overwrite parameters.
## Theme parameters
params:
# Default site description
description: Perplex theme for Hugo
# The following parameters may be set per page in the front-matter
toctitle: On this Page
subtitle: false
paginateNr: 5
# Limits for the number of characters to ensure a balanced layout
limit:
linkTitle:
max: 30
errorLevel: warning
description:
max: 85
errorLevel: warning
taxoterm:
max: 30
errorLevel: warning
summary:
min: 50
max: 360
errorLevel: warning
# Default favicon
favicon:
svg: favicon/favicon.svg
png: favicon/favicon.png
### Disable purgecss by default
postcss: false
### Theme default taxonomies
taxonomies:
tag: tags
category: categories
series: series
author: authors
### TOC walk fragments partial
toc:
startLevel: 2
endLevel: 4
minNumHeadings: 2
### Render hook link
render_hooks:
link:
errorLevel: warning # ignore, warning, or error
fragments:
errorLevel: ignore # ignore, or warning
### Parameters
layout:
measure: 70.0
column: 33.0
gutter: 4.0
lineheightfac: 3.0
guttermobile: 2.0
xminmobile: 8.0
xmaxmobile: 8.5
xmin: 6.6667
xmax: 10.0
background: '#ffffff'
### Markup
markup:
goldmark:
parser:
attribute:
block: true
wrapStandAloneImageWithinParagraph: false
renderer:
hardWraps: true
highlight:
anchorLineNos: true
lineNumbersInTable: false
noClasses: false
### Taxonomies
taxonomies:
category: categories
tag: tags
series: series
author: authors
module:
hugoVersion:
extended: true
min: "v0.120.4"
imports:
- path: github.com/bowman2001/hugo-mod-meta
- path: github.com/bowman2001/hugo-mod-replacements
- path: github.com/bowman2001/hugo-mod-open-in-vscode/v2
- path: github.com/bowman2001/hugo-mod-katex
- path: github.com/bowman2001/hugo-mod-mermaid
- path: github.com/bowman2001/hugo-mod-simple-icons
- path: github.com/bowman2001/hugo-mod-material-symbols
- path: github.com/bowman2001/hugo-mod-pangram
- path: github.com/bowman2001/hugo-mod-wrap
- path: github.com/bowman2001/hugo-mod-image
### The following loose security settings affect only the maintenance of this theme
### They don’t affect the security settings of a project using this theme!
### Hugo does not merge any security settings by default.
security:
exec:
allow:
- ^go$
osEnv:
- '.*'
# - (?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|DISPLAY)$
funcs:
getenv:
- ^HUGO_
- ^GO
http:
methods:
- (?i)GET|POST
urls:
- .*