Files
reveal-hugo/exampleSite/config.toml
T
Josh Dzielak 8e9fb9ea9e Make the linenumbers config.toml changes opt-in
Unfortunately the config.toml is shared by all the examples and so we
try to push example-specific config into the index files. With markdown
configuation that's not possible, so the best we can do is tell the user
they need to comment it in to try it out. The better solution in the
future would be to pull this example out into it's own Hugo site.
2020-02-24 12:56:19 +01:00

39 lines
949 B
TOML

baseURL = "https://example.com/"
languageCode = "en-us"
title = "A Hugo theme for creating Reveal.js presentations"
disableKinds = ["sitemap", "RSS"]
theme = "."
themesDir = "../"
# uncomment for browsing at file:///
# relativeURLs = true
# uglyURLs = true
[author]
name = "Josh Dzielak"
# as of hugo 0.60 goldmark is the default
# reveal-hugo doesn't support goldmark yet
# so force to black friday
[markup]
# defaultMarkdownHandler = "blackfriday"
[markup.goldmark.renderer]
unsafe = true
# uncomment these lines to run the highlightjs-linenumbers-example
# [markup.highlight]
# codeFences = false # prevent hugo from processing code fences
# style = "tango" # hugo highlighting for light + dark background
[outputFormats.Reveal]
baseName = "index"
mediaType = "text/html"
isHTML = true
[params.reveal_hugo]
history = true
# used in content/template-example
[params.reveal_hugo.templates.grey]
background = "#424242"
transition = "convex"