Skip to content

Commit f5e4032

Browse files
committed
fix: Refactor hugo.yaml for improved structure and clarity
1 parent cb08c0e commit f5e4032

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

hugo.yaml

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,35 @@
1+
title: Sphere
12
baseURL: https://go-sphere.github.io/
3+
24
languageCode: en-us
3-
title: Sphere
45
enableRobotsTXT: true
56
enableGitInfo: true
67
hasCJKLanguage: true
8+
enableInlineShortcodes: true
9+
10+
outputs:
11+
home: [html, llms]
12+
page: [html]
13+
section: [html, rss]
14+
715
module:
16+
workspace: hugo.work
817
imports:
918
- path: github.com/imfing/hextra
10-
enableInlineShortcodes: true
19+
20+
markup:
21+
highlight:
22+
noClasses: false
23+
goldmark:
24+
renderer:
25+
unsafe: true
26+
extensions:
27+
passthrough:
28+
delimiters:
29+
block: [['\[', '\]'], ['$$', '$$']]
30+
inline: [['\(', '\)']]
31+
enable: true
32+
1133
menu:
1234
main:
1335
- name: Documentation
@@ -81,15 +103,16 @@ menu:
81103
weight: 90
82104
params:
83105
icon: github
106+
107+
84108
params:
85109
externalLinkDecoration: true
86-
banner:
87-
key: 'announcement-v0_10'
88110
navbar:
89111
displayTitle: true
90112
displayLogo: true
91113
logo:
92114
path: images/sphere.png
115+
dark: images/sphere.png
93116
width: 35
94117
width: wide
95118
theme:
@@ -127,19 +150,3 @@ params:
127150
display: hover
128151
page:
129152
width: normal
130-
markup:
131-
goldmark:
132-
renderer:
133-
unsafe: true
134-
asciidocExt:
135-
attributes: {}
136-
backend: html5
137-
extensions: []
138-
failureLevel: fatal
139-
noHeaderOrFooter: true
140-
preserveTOC: false
141-
safeMode: unsafe
142-
sectionNumbers: false
143-
trace: false
144-
verbose: false
145-
workingFolderCurrent: false

0 commit comments

Comments
 (0)