-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
54 lines (47 loc) · 1.56 KB
/
hugo.toml
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
baseURL = 'https://andyraphael.github.io/docs/'
languageCode = 'en-us'
title = 'Andy Docs'
#contentDir = "content"
enableEmoji = true
enableGitInfo = true
[module]
[[module.imports]]
path = "github.com/colinwilson/lotusdocs"
disable = false
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
disable = false
[markup]
defaultMarkdownHandler = "goldmark"
[markup.tableOfContents]
endLevel = 3
startLevel = 1
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # https://jdhao.github.io/2019/12/29/hugo_html_not_shown/
# [markup.highlight]
# codeFences = false # disables Hugo's default syntax highlighting
# [markup.goldmark.parser]
# [markup.goldmark.parser.attribute]
# block = true
# title = true
[[menus.primary]]
name = "Docs"
url = "/docs/"
identifier = "docs"
weight = 10
[permalinks.term]
tags = "/docs/tags/:slug/"
[params]
[params.docs]
sidebarIcons = true
breadcrumbs = true
backToTop = true
prism = true
prismTheme = "lotusdocs"
# gitinfo
repoURL = "https://github.com/AndyRaphael/docs" # Git repository URL for your site
repoBranch = "master"
editPage = true # enable 'Edit this page' feature - default false
lastMod = true # enable 'Last modified' date on pages - default false
lastModRelative = true # format 'Last modified' time as relative - default true