generated from DanySK/Template-Hugo-Reveal-Slides
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
79 lines (66 loc) · 1.98 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
baseURL = "https://revue-org.github.io/revue-sap-slides"
languageCode = "en-us"
title = "A Hugo theme for creating Reveal.js presentations"
disableKinds = ["sitemap", "RSS"]
theme = "reveal-hugo"
publishDir = "build"
# uncomment for browsing at file:///
# relativeURLs = true
# uglyURLs = true
[authors]
[authors.mattia]
name = "Mattia Matteini"
[authors.kelvin]
name = "Kelvin Olaiya"
[authors.alberto]
name = "Alberto Paganelli"
# currently only the unsafe mode for goldmark is supported
[markup.goldmark.renderer]
unsafe = true
# choose between Hugo compile-time or Highlight.js
# syntax highlighting for code inside of code fences
[markup.highlight]
#codeFences = false # use highlight.js
codeFences = true # use hugo highlighting at compile time
style = "tango" # set a style for hugo highlighting
[outputFormats.Reveal]
baseName = "index"
mediaType = "text/html"
isHTML = true
[params.reveal_hugo]
history = true
theme = "league"
highlight_theme = "solarized-dark"
slide_number = true
transition = "slide"
transition_speed = "fast"
custom_theme = "custom-theme.scss"
custom_theme_compile = true
# width = '1440'
# height = '900'
width = '100%'
height = '100%'
[params.reveal_hugo.custom_theme_options]
targetPath = "css/custom-theme.css"
enableSourceMap = true
[[params.reveal_hugo.mermaid]]
# startOnLoad = false
# theme = "default"
# fontFamily = "Inconsolata"
# useMaxWidth = false
# gitGraph options break the image generation
# [params.reveal_hugo.mermaid.gitGraph]
# mainBranchName = 'master'
# rotateCommitLabel = true
[security]
enableInlineShortcodes = false
[security.exec]
allow = ['^(dart-)?sass(-embedded)?$', '^go$', '^npx$', '^postcss$']
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG)$']
[security.funcs]
getenv = ['^HUGO_', '^CI$', 'GITHUB_TOKEN' ]
[security.goTemplates]
allowActionJSTmpl = false
[security.http]
methods = ['(?i)GET|POST']
urls = ['.*']