2022-02-11 01:49:03 +01:00
|
|
|
# this is a required setting for this theme to appear on https://themes.gohugo.io/
|
2022-11-06 00:34:33 +01:00
|
|
|
# change this to a value appropriate for you; if your site is served from a subdirectory
|
2024-10-12 18:37:59 +02:00
|
|
|
# set it like 'https://example.com/mysite/'
|
|
|
|
baseURL = 'https://example.com/'
|
2022-11-02 00:14:19 +01:00
|
|
|
|
2025-02-13 22:25:56 +01:00
|
|
|
# required to be set to `true` to serve this page from a webserver AND the file system;
|
2024-12-30 20:44:16 +01:00
|
|
|
# if you set this value to `true`, `baseURL` must not contain a subdirectory;
|
2022-11-06 00:34:33 +01:00
|
|
|
# if you don't want to serve your page from the file system, you can also set this value
|
2025-02-13 22:25:56 +01:00
|
|
|
# to `false`
|
2024-02-24 14:03:23 +01:00
|
|
|
relativeURLs = true # true -> rewrite all site-relative URLs (those with a leading slash) to be relative to the current content
|
2025-02-13 22:25:56 +01:00
|
|
|
|
|
|
|
# if you set uglyURLs to `false`, this theme will append 'index.html' to any page bundle link
|
2024-02-24 13:49:46 +01:00
|
|
|
# so your site can be also served from the file system; if you don't want that,
|
2025-02-13 22:25:56 +01:00
|
|
|
# set `disableExplicitIndexURLs=true` in the [params] section,
|
|
|
|
# if st to `true`, adjusting the link is not necessary, so `disableExplicitIndexURLs` has
|
|
|
|
# no effect
|
2023-11-21 00:59:46 +01:00
|
|
|
uglyURLs = false # true -> basic/index.html -> basic.html
|
2022-02-06 01:55:07 +01:00
|
|
|
|
2022-02-11 01:49:03 +01:00
|
|
|
# the directory where Hugo reads the themes from; this is specific to your
|
|
|
|
# installation and most certainly needs be deleted or changed
|
2024-10-12 18:37:59 +02:00
|
|
|
themesdir = '../..'
|
2022-02-11 01:49:03 +01:00
|
|
|
# yeah, well, obviously a mandatory setting for your site, if you want to
|
|
|
|
# use this theme ;-)
|
2024-10-12 18:37:59 +02:00
|
|
|
theme = 'hugo-theme-relearn'
|
2022-02-11 01:49:03 +01:00
|
|
|
|
2023-05-17 20:58:37 +02:00
|
|
|
# make sure your defaultContentLanguage is the first one in the [languages]
|
2023-01-25 12:41:02 +01:00
|
|
|
# array below, as the theme needs to make assumptions on it
|
2024-10-12 18:37:59 +02:00
|
|
|
defaultContentLanguage = 'en'
|
2022-02-11 01:49:03 +01:00
|
|
|
# if you want to get rrrid o' ourrr pirrrates nonsense uncomment th' next line
|
|
|
|
# disableLanguages = ['pir']
|
2017-07-30 18:02:07 +02:00
|
|
|
|
2025-02-13 22:25:56 +01:00
|
|
|
# don't use any auto-generated summaries
|
2024-04-24 22:40:39 +02:00
|
|
|
summaryLength = 10
|
2024-04-24 21:38:16 +02:00
|
|
|
|
2025-02-13 22:25:56 +01:00
|
|
|
# add showcase-specific output formats
|
2017-07-30 18:02:07 +02:00
|
|
|
[outputs]
|
2025-02-13 22:25:56 +01:00
|
|
|
# `print` - activate the themes feature to print whole chapters or leaf pages
|
2024-10-12 18:37:59 +02:00
|
|
|
home = ['html', 'rss', 'print']
|
|
|
|
section = ['html', 'rss', 'print']
|
|
|
|
page = ['html', 'rss', 'print']
|
2021-07-04 20:59:17 +02:00
|
|
|
|
2025-02-13 22:25:56 +01:00
|
|
|
# add two showcase specific taxonomies for the parameter documentation;
|
|
|
|
# the standard taxonomies must be repeated if they should be available
|
|
|
|
# in such a case
|
2024-10-04 17:40:29 +02:00
|
|
|
[taxonomies]
|
|
|
|
category = 'categories'
|
|
|
|
tag = 'tags'
|
|
|
|
frontmatter = 'frontmatter'
|
|
|
|
option = 'options'
|
|
|
|
|
2025-02-13 22:25:56 +01:00
|
|
|
# Showcase-specific non-standard theme parameter that should be not
|
|
|
|
# contained in the defauzlt params.toml; delete it!
|
2022-11-13 12:19:49 +01:00
|
|
|
[params]
|
2023-11-16 00:21:08 +01:00
|
|
|
# Demo setting for displaying the siteparam shortcode the docs.
|
2024-10-12 18:37:59 +02:00
|
|
|
siteparam.test.text = 'A **nested** option <b>with</b> formatting'
|
2023-11-16 00:21:08 +01:00
|
|
|
# Extension to the image effects only for the docs.
|
|
|
|
imageEffects.bg-white = true
|
2025-01-29 23:30:53 +01:00
|
|
|
# This is for support of the variantgenerator in the docs, you don't need this!
|
2024-12-08 00:06:40 +01:00
|
|
|
variantgenerator.force = true
|
|
|
|
|
2025-02-13 22:25:56 +01:00
|
|
|
[params.relearn]
|
|
|
|
[params.relearn.dependencies]
|
|
|
|
# This is for support of the variantgenerator in the docs, you don't need this!
|
|
|
|
[params.relearn.dependencies.variantgenerator]
|
|
|
|
name = 'VariantGenerator'
|