-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.toml
119 lines (105 loc) · 2.31 KB
/
config.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
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
#################################
## Hugo settings ##
#################################
baseURL = "/"
DefaultContentLanguage = "en"
relativeURLs = false
languageCode = "en-us"
title = "blog.jemu.name"
#theme = ["jemsugo", "hugo-coder"]
metaDataFormat = "yaml"
[pagination]
pagerSize = 10
[module]
[module.hugoVersion]
min = "0.104.3" # Due to headings render hook
[[module.imports]]
path = "github.com/jemus42/hugo-rstats-pkg-meta"
[[module.imports]]
path = "github.com/jemus42/jemsugo"
[[module.imports]]
path = "github.com/luizdepra/hugo-coder"
# Enable features
enableEmoji = true
enableGitInfo = true
enableRobotsTXT = true
# Rmarkdown special handling
ignoreFiles = [
"\\.Rmd$",
"\\.Rmarkdown$",
"_cache$", # Generally recommended settings
"\\.knit\\.md$",
"\\.utf8\\.md$",
"\\.tmp\\.html$", # Knitr temp files just in case
"\\.lock$",
"^renv$", # Ignore renv if used within page bundles
"\\.graffle$", # Diagrams
"^knitr-hooks\\.",
]
[permalinks]
posts = "/:year/:month/:slug/"
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[markup]
defaultMarkdownHandler = "goldmark"
[markup.highlight]
codeFences = true
guessSyntax = true
hl_Lines = ""
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
noClasses = false # Use classes + css if false
# style = "monokai" # only applies with noClasses = true I think? needs RTFM
tabWidth = 2
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.parser]
attribute = true
autoHeadingID = true
autoHeadingIDType = "github"
[markup.goldmark.renderer]
hardWraps = false
unsafe = true
xHTML = false
[markup.tableOfContents]
endLevel = 3
ordered = false
startLevel = 2
[privacy]
[privacy.disqus]
disable = true
[privacy.googleAnalytics]
disable = true
[privacy.instagram]
disable = true
[privacy.x]
disable = true
[privacy.vimeo]
disable = true
[privacy.youtube]
disable = true
#################################
## Theme-specific settings ##
#################################
[languages]
[languages.en]
languagename = "English"
[languages.en.menu]
[[languages.en.menu.main]]
name = "About"
weight = 2
url = "about/"
[[languages.en.menu.main]]
name = "Posts"
weight = 1
url = "posts/"