mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-03 04:08:27 +02:00
8e9fb9ea9e
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.
39 lines
949 B
TOML
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" |