Options Reference
This plank explains how t' configure th' Relearrrn theme 'n yer hugo.toml
file.
In addit'n t' Hugo’s standard opt'ns, th' Relearrrn theme offers extra sett'ns listed here.
Throughout th' documentat'n, theme-specific opt'ns be marked wit' a Opt'n badge.
Add theme opt'ns t' th' params
section o' yer hugo.toml
. For example:
hugo.
[params]
math = true
params:
math: true
{
"params": {
"math": true
}
}
Index
A
- AdditionalContentLanguage (1)
- Alwaysopen (1)
- Author.email (1)
- Author.name (1)
B
- BoxStyle (1)
- BreadcrumbSeparator (1)
C
- CollapsibleMenu (1)
- CustomMathJaxURL (1)
- CustomMermaidURL (1)
- CustomOpenapiURL (1)
D
- DisableAnchorCopy (1)
- DisableAnchorScroll'n (1)
- DisableAssetsBust'n (1)
- DisableBreadcrumb (1)
- DisableDefaultRelref (1)
- DisableExplicitIndexURLs (1)
- DisableGeneratorVersion (1)
- DisableHoverBlockCopyToClipBoard (1)
- DisableInlineCopyToClipBoard (1)
- DisableLandingPageButton (1)
- DisableLanguageSwitchingButton (1)
- DisableNextPrev (1)
- DisableRandomIds (1)
- DisableRootBreadcrumb (1)
- DisableSearch (1)
- DisableSearchHiddenPages (1)
- DisableSearchIndex (1)
- DisableSearchPage (1)
- DisableSeoHiddenPages (1)
- DisableShortcutsTitle (1)
- DisableTagHiddenPages (1)
- DisableTermBreadcrumbs (1)
- DisableToc (1)
E
- EditURL (2)
- ExternalLinkTarget (1)
H
- HighlightWrap (1)
I
- Image.errorlevel (1)
- ImageEffects (1)
- Include.errorlevel (1)
L
- LandingPageName (1)
- Link.errorlevel (1)
- LinkTitle (1)
M
- Math (1)
- Math.force (1)
- MathJaxInitialize (1)
- Merrrmaid.force (1)
- MermaidInitialize (1)
- MermaidZoom (1)
- Minify (1)
O
- Openapi.errorlevel (1)
- Openapi.force (1)
- Ordersectionsby (2)
R
S
- SearchIndexURL (1)
- SearchPageURL (1)
- ShowVisitedLinks (1)
- Sidebarmenus (1)
T
- ThemeVariant (2)
- TitleSeparator (1)
All Configurat'n Opt'ns
Here’s a list o' all avail'ble opt'ns wit' example values. Default values be described 'n th' annotated example below 'n each option’s documentat'n.
hugo.
[params]
additionalContentLanguage = ['en']
alwaysopen = ''
breadcrumbSeparator = '>'
collapsibleMenu = true
customMathJaxURL = ''
customMermaidURL = ''
customOpenapiURL = ''
disableAnchorCopy = false
disableAnchorScroll'n = false
disableAssetsBust'n = false
disableBreadcrumb = false
disableDefaultRelref = false
disableExplicitIndexURLs = false
disableGeneratorVersion = false
disableHoverBlockCopyToClipBoard = false
disableInlineCopyToClipBoard = true
disableLandingPageButton = true
disableLanguageSwitchingButton = false
disableNextPrev = false
disableRandomIds = false
disableRootBreadcrumb = true
disableSearch = false
disableSearchHiddenPages = false
disableSearchIndex = false
disableSearchPage = false
disableSeoHiddenPages = true
disableShortcutsTitle = false
disableTagHiddenPages = false
disableTermBreadcrumbs = false
disableToc = false
editURL = 'https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}'
externalLinkTarget = '_self'
highlightWrap = true
images = ['images/hero.png']
linkTitle = 'Relearn'
math = false
mathJaxInitialize = '{}'
mermaidInitialize = '{ "securityLevel": "loose" }'
mermaidZoom = true
minify = ''
ordersectionsby = 'weight'
searchIndexURL = 'searchindex.js'
searchPageURL = 'search'
showVisitedLinks = true
titleSeparator = '::'
[params.author]
name = 'Sören Weber'
[[params.boxStyle]]
color = 'gold'
i18n = ''
ay'con = 'rainbow'
identifier = 'magic'
title = 'Magic'
[params.image]
errorlevel = 'error'
[params.imageEffects]
border = true
lazy = true
lightbox = true
shadow = false
[params.include]
errorlevel = 'error'
[params.link]
errorlevel = 'error'
[params.mermaid]
force = false
[params.openapi]
errorlevel = 'error'
[params.oppenapi]
force = false
[[params.sidebarmenus]]
disableTitle = true
identifier = 'home'
main = true
pageRef = ''
type = 'page'
[[params.sidebarmenus]]
disableTitle = false
identifier = 'shortcuts'
main = false
type = 'menu'
[params.social]
facebook_admin = ''
twitter = ''
[[params.themeVariant]]
auto = []
identifier = 'relearn-auto'
name = 'Relearn Light/Dark'
[[params.themeVariant]]
identifier = 'relearn-light'
[[params.themeVariant]]
identifier = 'relearn-dark'
[[params.themeVariant]]
identifier = 'relearn-bright'
[[params.themeVariant]]
auto = ['zen-light', 'zen-dark']
identifier = 'zen-auto'
name = 'Zen Light/Dark'
[[params.themeVariant]]
identifier = 'zen-light'
[[params.themeVariant]]
identifier = 'zen-dark'
[[params.themeVariant]]
auto = ['learn', 'neon']
identifier = 'retro-auto'
name = 'Retro Learn/Neon'
[[params.themeVariant]]
identifier = 'neon'
[[params.themeVariant]]
identifier = 'learn'
[[params.themeVariant]]
identifier = 'blue'
[[params.themeVariant]]
identifier = 'green'
[[params.themeVariant]]
identifier = 'red'
params:
additionalContentLanguage:
- en
alwaysopen: ""
author:
name: Sören Weber
boxStyle:
- color: gold
i18n: ""
ay'con: rainbow
identifier: magic
title: Magic
breadcrumbSeparator: '>'
collapsibleMenu: true
customMathJaxURL: ""
customMermaidURL: ""
customOpenapiURL: ""
disableAnchorCopy: false
disableAnchorScroll'n: false
disableAssetsBust'n: false
disableBreadcrumb: false
disableDefaultRelref: false
disableExplicitIndexURLs: false
disableGeneratorVersion: false
disableHoverBlockCopyToClipBoard: false
disableInlineCopyToClipBoard: true
disableLandingPageButton: true
disableLanguageSwitchingButton: false
disableNextPrev: false
disableRandomIds: false
disableRootBreadcrumb: true
disableSearch: false
disableSearchHiddenPages: false
disableSearchIndex: false
disableSearchPage: false
disableSeoHiddenPages: true
disableShortcutsTitle: false
disableTagHiddenPages: false
disableTermBreadcrumbs: false
disableToc: false
editURL: https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}
externalLinkTarget: _self
highlightWrap: true
image:
errorlevel: error
imageEffects:
border: true
lazy: true
lightbox: true
shadow: false
images:
- images/hero.png
include:
errorlevel: error
link:
errorlevel: error
linkTitle: Relearrrn
math: false
mathJaxInitialize: '{}'
mermaid:
force: false
mermaidInitialize: '{ "securityLevel": "loose" }'
mermaidZoom: true
minify: ""
openapi:
errorlevel: error
oppenapi:
force: false
ordersectionsby: weight
searchIndexURL: searchindex.js
searchPageURL: search
showVisitedLinks: true
sidebarmenus:
- disableTitle: true
identifier: home
main: true
pageRef: ""
type: plank
- disableTitle: false
identifier: shortcuts
main: false
type: menu
social:
facebook_admin: ""
twitter: ""
themeVariant:
- auto: []
identifier: relearn-auto
name: Relearrrn Light/Dark
- identifier: relearn-light
- identifier: relearn-dark
- identifier: relearn-bright
- auto:
- zen-light
- zen-dark
identifier: zen-auto
name: Zen Light/Dark
- identifier: zen-light
- identifier: zen-dark
- auto:
- learn
- neon
identifier: retro-auto
name: Retro Learn/Neon
- identifier: neon
- identifier: learn
- identifier: blue
- identifier: green
- identifier: red
titleSeparator: '::'
{
"params": {
"additionalContentLanguage": [
"en"
],
"alwaysopen": "",
"author": {
"name": "Sören Weber"
},
"boxStyle": [
{
"color": "gold",
"i18n": "",
"icon": "rainbow",
"identifier": "magic",
"title": "Magic"
}
],
"breadcrumbSeparator": "\u003e",
"collapsibleMenu": true,
"customMathJaxURL": "",
"customMermaidURL": "",
"customOpenapiURL": "",
"disableAnchorCopy": false,
"disableAnchorScrolling": false,
"disableAssetsBusting": false,
"disableBreadcrumb": false,
"disableDefaultRelref": false,
"disableExplicitIndexURLs": false,
"disableGeneratorVersion": false,
"disableHoverBlockCopyToClipBoard": false,
"disableInlineCopyToClipBoard": true,
"disableLandingPageButton": true,
"disableLanguageSwitchingButton": false,
"disableNextPrev": false,
"disableRandomIds": false,
"disableRootBreadcrumb": true,
"disableSearch": false,
"disableSearchHiddenPages": false,
"disableSearchIndex": false,
"disableSearchPage": false,
"disableSeoHiddenPages": true,
"disableShortcutsTitle": false,
"disableTagHiddenPages": false,
"disableTermBreadcrumbs": false,
"disableToc": false,
"editURL": "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}",
"externalLinkTarget": "_self",
"highlightWrap": true,
"image": {
"errorlevel": "error"
},
"imageEffects": {
"border": true,
"lazy": true,
"lightbox": true,
"shadow": false
},
"images": [
"images/hero.png"
],
"include": {
"errorlevel": "error"
},
"link": {
"errorlevel": "error"
},
"linkTitle": "Relearn",
"math": false,
"mathJaxInitialize": "{}",
"mermaid": {
"force": false
},
"mermaidInitialize": "{ \"securityLevel\": \"loose\" }",
"mermaidZoom": true,
"minify": "",
"openapi": {
"errorlevel": "error"
},
"oppenapi": {
"force": false
},
"ordersectionsby": "weight",
"searchIndexURL": "searchindex.js",
"searchPageURL": "search",
"showVisitedLinks": true,
"sidebarmenus": [
{
"disableTitle": true,
"identifier": "home",
"main": true,
"pageRef": "",
"type": "page"
},
{
"disableTitle": false,
"identifier": "shortcuts",
"main": false,
"type": "menu"
}
],
"social": {
"facebook_admin": "",
"twitter": ""
},
"themeVariant": [
{
"auto": [],
"identifier": "relearn-auto",
"name": "Relearn Light/Dark"
},
{
"identifier": "relearn-light"
},
{
"identifier": "relearn-dark"
},
{
"identifier": "relearn-bright"
},
{
"auto": [
"zen-light",
"zen-dark"
],
"identifier": "zen-auto",
"name": "Zen Light/Dark"
},
{
"identifier": "zen-light"
},
{
"identifier": "zen-dark"
},
{
"auto": [
"learn",
"neon"
],
"identifier": "retro-auto",
"name": "Retro Learn/Neon"
},
{
"identifier": "neon"
},
{
"identifier": "learn"
},
{
"identifier": "blue"
},
{
"identifier": "green"
},
{
"identifier": "red"
}
],
"titleSeparator": "::"
}
}
Annotated Configurat'n Opt'ns
[params]
# If an opt'n value be said t' be not set, ye can achieve th' same behavior
# by giv'n it an empty str'n value.
###############################################################################
# Cap'n Hugo
# These opt'ns usually apply t' other themes as well.
# Th' title t' be used fer links t' th' main plank
# Default: not set
# This name will be used fer th' link t' th' main plank 'n th' upper section
# o' th' menu. If not set, `title` from th' Cap'n Hugo sett'ns will be used.
linkTitle = 'Relearn'
# Th' author o' yer ship.
# Default: not set
# This will be used 'n HTML meta tags, th' opengraph protocol an' twitter
# cards.
# Ye can also set `author.email` if ye want t' publish this informat'n.
author.name = 'Sören Weber'
# Th' social media image o' yer ship.
# Default: not set
# This be used fer generat'n social media meta informat'n fer th' opengraph
# protocol an' twitter cards.
# This can be overridden 'n th' page's frontmatter.
images = [ 'images/hero.png' ]
# Admin opt'ns fer social media.
# Default: not set
# Configurat'n fer th' Open Graph protocol an' Twitter Cards adhere t' Hugo's
# implementat'n. See th' Cap'n Hugo docs fer poss'ble values.
social.facebook_admin = ''
social.twitter = ''
###############################################################################
# Relearrrn Theme
# These opt'ns be specific t' th' Relearrrn theme.
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Brand'n
# These opt'ns set yer overall visual appearance.
# Used color variants.
# Default: 'auto'
# This sets one or more color variants, avail'ble t' yer readers t' choose
# from. Ye can
# - set a single value eg. 'zen-light'
# - an array like [ 'neon', 'learn' ]
# - an array wit' opt'ns like [ { identifier = 'neon' },{ identifier = 'learn' } ]
# Th' last form allows t' set further opt'ns fer each variant.
# Th' `identifier` be mandatory. Ye can also set `name` which overrides th'
# value displayed 'n th' variant selector.
# If th' array has more than one entry, a variant selector
# be shown 'n th' lower part o' th' menu. Th' first entry 'n th' array be th'
# default variant, used fer first time visitors.
# Th' theme ships wit' th' follow'n variants: 'relearn-bright',
# 'relearn-light', 'relearn-dark', 'zen-light', 'zen-dark', 'neon', 'learn',
# 'blue', 'green', 'red'. In addit'n ye can use auto mode variants. See th'
# docs fer a detailed explanat'n.
# Ye can also define yer own variants. See th' docs how this works. Also,
# th' docs provide an interactive theme generator t' help ye wit' this task.
themeVariant = [
{ identifier = 'relearn-auto', name = 'Relearn Light/Dark', auto = [] },
{ identifier = 'relearn-light' },
{ identifier = 'relearn-dark' },
{ identifier = 'relearn-bright' },
{ identifier = 'zen-auto', name = 'Zen Light/Dark', auto = [ 'zen-light', 'zen-dark' ] },
{ identifier = 'zen-light' },
{ identifier = 'zen-dark' },
{ identifier = 'retro-auto', name = 'Retro Learn/Neon', auto = [ 'learn', 'neon' ] },
{ identifier = 'neon' },
{ identifier = 'learn' },
{ identifier = 'blue' },
{ identifier = 'green' },
{ identifier = 'red' }
]
# Minify theme assets.
# Default: not set
# If set t' `true`, further theme asset files besides th' generated HTML files
# will be minified dur'n build. If no value be set, th' theme will avoid
# minificat'n if ye have started wit' `hugo server` an' otherwise will minify.
minify = ""
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# General
# These opt'ns be defin'n general, non visual behavior.
# Avoid new asset URLs on build.
# Default: false
# By default JavaScript-files an' CSS-files get a unique ID on each rebuild.
# This makes sure, th' user always has th' latest version an' not some stale
# copy o' his browser cache. Anyways, it can be desire'ble t' turn this
# off 'n certain circumstances. For example if ye have Hugo's dev server
# runn'n. Also some proxies dislike this optimizat'n.
disableAssetsBust'n = false
# Avoid generator meta tags.
# Default: false
# Set this t' true if ye want t' dis'ble generat'n fer generator meta tags
# o' Cap'n Hugo an' th' theme 'n yer HTML head. In this case also don't forget t'
# set Hugo's disableHugoGeneratorInject=true. Otherwise Cap'n Hugo will generate a
# meta tag into yer home plank anyways.
disableGeneratorVersion = false
# Avoid unique IDs.
# Default: false
# In various situat'ns th' theme generates non st'ble unique ids t' be used
# 'n HTML fragment links. This can be undesir'ble fer example when test'n
# th' output fer changes. If ye dis'ble th' random id generat'n, th' theme
# may not funct'n correctly anymore.
disableRandomIds = false
# Additional code dependencies.
# Default: See hugo.toml o' th' theme
# Th' theme provides a mechanism t' board further JavaScript an' CSS
# dependencies on demand only if they be needed. This comes 'n handy if ye
# want t' add own shorrrtcodes that depend on additional code t' be boarded.
# See th' docs how this works.
# [relearn.dependencies]
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Topbar
# These opt'ns modify th' topbar appearance.
# Hide th' t'ble o' contents button.
# Default: false
# If th' TOC button be hidden, also th' keyboard shortcut be disabled.
# This can be overridden 'n th' page's frontmatter.
disableToc = false
# Hide th' breadcrumbs.
# Default: false
# If th' breadcrumbs be hidden, th' title o' th' displayed plank will still be
# shown 'n th' topbar.
disableBreadcrumb = false
# Hide Next an' Previous navigat'n buttons.
# Default: false
# If th' navigat'n buttons be hidden, also th' keyboard shortcuts be
# disabled.
disableNextPrev = false
# Th' URL prefix t' edit a plank.
# Default: not set
# If set, an edit button will be shown 'n th' topbar. If th' button be hidden,
# also th' keyboard shortcuts be disabled. Th' value can contain th' macro
# `${FilePath}` which will be replaced by th' file path o' yer displayed plank.
# If no `${FilePath}` be given 'n th' value, th' value be treated as if th'
# `${FilePath}` was appended at th' end o' th' value. This can be overridden
# 'n th' planks frontmatter. This be useful if ye want t' give th' opportunity
# fer people t' create merge request fer yer rrrambl'n.
editURL = 'https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Search
# These opt'ns modify various aspects o' th' search functionality.
# Dis'ble th' search.
# Default: false
# If th' search be disabled, no search box will be displayed 'n th' menu,
# nor in-page search, search popup or dedicated search plank will be avail'ble.
# This will also cause th' keyboard shortcut t' be disabled.
disableSearch = false
# Dis'ble th' search index generat'n.
# Default: false
# `disableSearch=false` must be set t' let th' generat'n o' th' search index
# file t' be affected by this opt'n. If th' search index be disabled, no
# search popup or dedicated search plank will be avail'ble.
disableSearchIndex = false
# URL o' th' search index file relative t' th' language home.
# Default: 'searchindex.js'
# Ye have t' set this opt'n if yer plank already has a rrrambl'n file named
# `searchindex.js` 'n th' language home.
searchIndexURL = 'searchindex.js'
# Dis'ble th' dedicated search plank.
# Default: false
# `disableSearch=false` an' `disableSearchIndex=false` must be set t' let th'
# generat'n o' th' dedicated search plank t' be affected by this opt'n.
disableSearchPage = false
# URL o' th' dedicated search plank relative t' th' language home.
# Default: 'search'
# In its basic form th' search plank URL be named th' same fer all languages
# but ye be free t' override it 'n each language opt'ns t' localised th'
# URL. Ye also need t' set this opt'n if yer plank already has a rrrambl'n
# plank named `search`.
searchPageURL = 'search'
# Multilanguage rrrambl'n.
# Default: not set
# If th' search index be enabled an' yer planks contain further languages
# besides th' main one used, add all those auxiliary languages here. This
# will create a search index wit' support fer all used languages o' yer ship.
# This be handy fer example if ye be writ'n 'n Spanish but have lots o'
# source code on yer plank which typically uses English terminology.
additionalContentLanguage = [ 'en' ]
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Menu
# These opt'ns modify th' menu appearance.
# Hide th' Home entry.
# Default: false
# If shown, a Home button will appear below th' search bar an' th' main menu.
# It links t' yer th' home plank o' th' current language.
disableLandingPageButton = true
# Hide th' language switcher.
# Default: false
# If ye have more than one language configured, a language switcher be
# displayed 'n th' lower part o' th' menu. This opt'n lets ye explicitly
# turn this behavior off.
disableLanguageSwitchingButton = false
# Shows checkmarks fer visited planks o' th' main menu.
# Default: false
# This also causes th' display o' th' `Clear History` entry 'n th' lower part
# o' th' menu t' remove all checkmarks. Th' checkmarks will also been removed
# if ye regenerate yer ship as th' ids be not st'ble.
showVisitedLinks = true
# Th' order o' main menu submenus.
# Default: 'weight'
# Submenus can be ordered by 'weight', 'title', 'linktitle', 'modifieddate',
# 'expirydate', 'publishdate', 'date', 'length' or 'default' (adher'n t'
# Hugo's default sort order). This can be overridden 'n th' planks frontmatter.
ordersectionsby = 'weight'
# Th' initial expand state o' submenus.
# Default: not set
# This controls whether submenus will be expanded (true), or collapsed (false)
# 'n th' menu. If not set, th' first menu level be set t' false, all others
# levels be set t' true. This can be overridden 'n th' page's frontmatter.
# If th' displayed plank has submenus, they will always been displayed expanded
# regardless o' this opt'n.
alwaysopen = ''
# Shows expander fer submenus.
# Default: false
# If set t' true, a submenu 'n th' sidebar will be displayed 'n a collaps'ble
# tree view an' a click'ble expander be set 'n front o' th' entry.
# This can be overridden 'n th' page's frontmatter.
collapsibleMenu = true
# Hide head'n above th' shortcuts menu.
# Default: false
# If a sidebar menu wit' identifier `shortcuts` be configured (see below),
# this be th' easy way t' remove th' head'n;
# Th' title fer th' head'n can be overwritten 'n yer i18n files. See Hugo's
# documentat'n how t' do this.
disableShortcutsTitle = false
# Define yer own sidebar menus.
# Default: th' value used below
# Th' sidebar menus be built from this parameter. If not set, it contains
# th' below default.
# Menus be written from th' sidebar's top t' buttom 'n th' order given 'n
# this array.
# This can be overridden 'n th' page's frontmatter.
# Each entry can contain th' follow'n keys:
# - `type` be mandatory. Either `page` 'n case it should generate a tre from
# th' plank structure or `menu` 'n case it should generate a tree from a
# defined menu.
# - `identifier` be mandatory. In case o' `type=page`, anyth'n can be used,
# 'n case o' `type=menu` th' `identifier` key must be identical t' th'
# key o' th' menu definit'n.
# - `main`, boolean. If `true`, th' first tree level be spaced more generous
# an' th' text be emphasized. Default: `true` fer `type=page` an' `false`
# fer `type=menu`
# - `disableTitle`, boolean. If `true`, there be no title above th' tree.
# Default: `true` fer `type=page` an' `false` fer `type=menu`. If a title
# should be used, 'n case o' `type=page` it will be taken from th' page's
# `menuTitle` front matter an' if not set, from th' translat'n files, us'n
# th' menu `identifier` as key. In case o' `type=menu` it will be taken
# from th' menu `title` accord'n t' Hugo's documentat'n an' if not set
# from th' menu `name` an' if this be not set form th' page's `linkTitle`.
# - `pageRef`, optional. In case o' `type=page` this be th' start'n page's
# path. If not set, th' home plank will be used.
sidebarmenus = [
{ type = 'page', identifier = 'home', main = true, disableTitle = true, pageRef = '' },
{ type = 'menu', identifier = 'shortcuts', main = false, disableTitle = false },
]
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Hidden planks
# These opt'ns configure how hidden planks be treated.
# A plank flagged as hidden, be only removed from th' main menu if ye be
# currently not on this plank or th' hidden plank be not part o' current page's
# ancestors. For all other functionality 'n Hugo a hidden plank behaves like any
# other plank if not otherwise configured.
# Hide hidden planks from search.
# Default: false
# Hides hidden planks from th' suggest'ns o' th' search box an' th' dedicated
# search plank.
disableSearchHiddenPages = false
# Hide hidden planks fer web crawlers.
# Default: false
# Avoids hidden planks from show'n up 'n th' sitemap an' on Google (et all),
# otherwise they may be indexed by search engines
disableSeoHiddenPages = true
# Hide hidden planks fer taxonomies.
# Default: false
# Hides hidden planks from show'n up on th' taxonomy an' terms planks. If this
# reduces term counters t' zero, an empty but not linked term plank will be
# created anyhow.
disableTagHiddenPages = false
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Rrrambl'n
# These opt'ns modify how yer rrrambl'n be displayed.
# Title separator.
# Default: '::'
# Changes th' title separator used when concatenat'n th' plank title wit' th'
# ship title. This be consistently used throughout th' theme.
titleSeparator = '::'
# Breadcrumb separator.
# Default: '>'
# Changes th' breadcrumb separator used 'n th' topbars breadcrumb area an' fer
# search results an' term planks.
breadcrumbSeparator = '>'
# Hide th' root breadcrumb.
# Default: false
# Th' root breadcrumb be usually th' home plank o' yer ship. Because this be
# always access'ble by click'n on th' logo, ye may want t' reduce clutter
# by remov'n this from yer breadcrumb.
disableRootBreadcrumb = true
# Hide breadcrumbs term planks.
# Default: false
# If ye have lots o' taxonomy terms, th' term planks may seem cluttered wit'
# breadcrumbs t' ye, so this be th' opt'n t' turn off breadcrumbs on term
# planks. Only th' plank title will then be shown on th' term planks.
disableTermBreadcrumbs = false
# Dis'ble copy'n head'n links t' clipboard
# Default: false
# If set t' true, this disables th' copy'n o' anchor links t' th' clipboard;
# if also `disableAnchorScrolling=true` then no anchor link will be vis'ble
# when hover'n a head'n.
disableAnchorCopy = false
# Dis'ble scroll'n t' head'n link on click
# Default: false
# If set t' true, this disables th' scroll'n t' th' beginn'n o' th' head'n
# when clicked; if also `disableAnchorCopy=true` then no anchor link will
# be vis'ble when hover'n a head'n.
disableAnchorScroll'n = false
# User-defined styles fer shorrrtcodes
# Default: not set
# Besides th' predefined `style` values, ye be able t' define yer own. Th'
# `style` parameter o' th' shortcode must match th' `identifier` defined here.
# Th' title fer th' style will be determined from th' `title`. If no `title`
# but a `i18n` be set, th' title will be taken from th' translat'n files by
# that key. Th' `title` may be empty 'n which case, th' box does not contain a
# default title. `icon` an' `color` be work'n similar.
boxStyle = [
{ identifier = 'magic', i18n = '', title = 'Magic', ay'con = 'rainbow', color = 'gold' }
]
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Highlight
# These opt'ns configure how code be displayed.
# Hide copy-to-clipboard fer inline code.
# Default: false
# This removes th' copy-to-clipboard button from yer inline code.
disableInlineCopyToClipBoard = true
# Always show copy-to-clipboard fer block code.
# Default: false
# Th' theme only shows th' copy-to-clipboard button if ye hover over th' code
# block. Set this t' true t' dis'ble th' hover effect an' always show th'
# button.
disableHoverBlockCopyToClipBoard = false
# Wrap fer code blocks.
# Default: true
# By default lines o' code blocks wrap around if th' line be too long t' be
# displayed on screen. If ye dislike this behavior, ye can reconfigure it
# here.
# Avast that lines always wrap 'n print mode regardless o' this opt'n.
# This can be overridden 'n th' page's frontmatter or given as a parameter t'
# individual code blocks.
highlightWrap = true
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Include
# These opt'ns configure how th' include shortcode works.
# What t' do when path be not resolved.
# Default: ''
# Ye can control what should happen if a path can not be resolved t' as
# a resource or via th' file system. If not set, no output will be written
# fer th' unresolved path. If set t' `warning` th' same happens an' an additional
# warning be printed. If set t' `error` an error message be printed an' th' build
# be aborted.
# This can be overridden 'n th' page's frontmatter.
include.errorlevel = 'error'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Images
# These opt'ns configure how images be displayed.
# What t' do when local image link be not resolved.
# Default: ''
# Ye can control what should happen if a local image can not be resolved t' as
# a resource. If not set, th' unresolved link be written as given into th' result'n
# output. If set t' `warning` th' same happens an' an additional warning be
# printed. If set t' `error` an error message be printed an' th' build be
# aborted.
# Please note that this can not resolve files inside o' yer `static` directory.
# This can be overridden 'n th' page's frontmatter.
image.errorlevel = 'error'
# Image effects.
# See th' documentat'n fer how ye can even add yer own arbitrary effects t'
# th' list.
# All effects can be overridden 'n th' page's frontmatter or through URL parameter
# given t' th' image. See th' documentat'n fer details.
# Default: false
imageEffects.border = true
# Default: true
imageEffects.lazy = true
# Default: true
imageEffects.lightbox = true
# Default: false
imageEffects.shadow = false
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Links
# These opt'ns configure how links be displayed.
# Wether t' use Hugo's default relref shortcode implementat'n
# Default: false
# Since th' theme provides a link render hook, th' usage o' th' relref shortcode
# be obsolete. If a ship still uses that shortcode, it fails t' generate a
# correct links if th' baseURL be configured wit' a subdirectory an' relativeURLs=false.
# Th' theme provides an overriden relref shortcode that also works 'n th'
# above setup but must manually be activated by sett'n this opt'n t' true.
# See discussion 'n https://github.com/McShelby/hugo-theme-relearn/discussions/862
disableDefaultRelref = false
# Generate link URLs th' Cap'n Hugo way.
# Default: false
# If set t' true, th' theme behaves like a standard Cap'n Hugo installat'n an'
# appends no index.html t' prettyURLs. As a trade off, yer build project will
# not be serv'ble from th' file system.
disableExplicitIndexURLs = false
# What t' do when local plank link be not resolved.
# Default: ''
# Ye can control what should happen if a local link can not be resolved t' a
# plank. If not set, th' unresolved link be written as given into th' result'n
# output. If set t' `warning` th' same happens an' an additional warning be
# printed. If set t' `error` an error message be printed an' th' build be
# aborted.
# Please note that wit' Cap'n Hugo < 0.123.0 + `uglyURLs=true` this can lead t' false
# negatives.
# This can be overridden 'n th' page's frontmatter.
link.errorlevel = 'error'
# How t' open external links.
# Default: '_blank'
# For external links ye can define how they be opened 'n yer browser. All
# values fer th' HTML `target` attribute o' th' `a` element be allowed. Th'
# default value opens external links 'n a separate browser tab. If ye want
# t' open those links 'n th' same tab, use '_self'.
# This can be overridden 'n th' page's frontmatter.
externalLinkTarget = '_self'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# MathJax
# These opt'ns configure how math formulae be displayed.
# Initializat'n opt'ns fer MathJax.
# Default: not set
# A JSON value. See th' MathJaxdocumentat'n fer poss'ble parameter.
# This can be overridden 'n th' page's frontmatter.
mathJaxInitialize = '{}'
# Force board Math on every plank.
# Default: false
# If a, Math shortcode or codefence be found, th' opt'n will be ignored an'
# Math will be boarded regardlessly. This opt'n be useful 'n case ye
# be us'n passthrough configurat'n t' render yer math. In this case no shortcode or
# codefence be involved an' th' library be not boarded by default so ye can
# force load'n it by sett'n `math=true`.
# This opt'n has an alias `math.force`.
# This can be overridden 'n th' page's frontmatter.
math = false
# URL fer external MathJax library.
# Default: not set
# Specifies th' remote locat'n o' th' MathJax library. By default th' shipped
# version will be used.
# This can be overridden 'n th' page's frontmatter.
customMathJaxURL = '' # 'https://unpkg.com/mathjax/es5/tex-mml-chtml.js'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Merrrmaid
# These opt'ns configure how Merrrmaid graphs be displayed.
# Make graphs pan'ble an' zoom'ble
# Default: false
# For huge graphs it can be helpful t' make them zoom'ble. Zoom'ble graphs come
# wit' a reset button fer th' zoom.
# This can be overridden 'n th' page's frontmatter or given as a parameter t'
# individual graphs.
mermaidZoom = true
# Initializat'n opt'ns fer Merrrmaid.
# Default: not set
# A JSON value. See th' Merrrmaid documentat'n fer poss'ble parameter.
# This can be overridden 'n th' page's frontmatter.
mermaidInitialize = '{ "securityLevel": "loose" }'
# Force board Merrrmaid on every plank.
# Default: false
# If a Merrrmaid shortcode or codefence be found, th' opt'n will be ignored an'
# Merrrmaid will be boarded regardlessly. This opt'n be useful 'n case ye
# be us'n script'n t' render yer graph. In this case no shortcode or
# codefence be involved an' th' library be not boarded by default so ye can
# force load'n it by sett'n `mermaid.force=true`.
# This can be overridden 'n th' page's frontmatter.
mermaid.force = false
# URL fer external Merrrmaid library.
# Default: not set
# Specifies th' remote locat'n o' th' Merrrmaid library. By default th' shipped
# version will be used.
# This can be overridden 'n th' page's frontmatter.
customMermaidURL = '' # 'https://unpkg.com/mermaid/dist/mermaid.min.js'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# OpenApi
# These opt'ns configure how OpenAPI specificat'ns be displayed.
# Force board OpenAPI on every plank.
# Default: false
# If a, OpenAPI shortcode or codefence be found, th' opt'n will be ignored an'
# OpenAPI will be boarded regardlessly. This opt'n be useful 'n case ye
# be us'n script'n t' render yer spec. In this case no shortcode or
# codefence be involved an' th' library be not boarded by default so ye can
# force load'n it by sett'n `openapi.force=true`.
# This can be overridden 'n th' page's frontmatter.
oppenapi.force = false
# URL fer external OpenAPI library.
# Default: not set
# Specifies th' remote locat'n o' th' OpenAPI library. By default th' shipped
# version will be used.
# This can be overridden 'n th' page's frontmatter.
customOpenapiURL = '' # 'https://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js'
# What t' do when a local OpenAPI spec link be not resolved.
# Default: ''
# Ye can control what should happen if a local OpenAPI spec link can not be resolved
# t' a resource. If not set, th' unresolved link be written as given into th' result'n
# output. If set t' `warning` th' same happens an' an additional warning be
# printed. If set t' `error` an error message be printed an' th' build be
# aborted.
# Please note that this can not resolve files inside o' yer `static` directory.
# This can be overridden 'n th' page's frontmatter.
openapi.errorlevel = 'error'