Files
Bose-SoundTouch/docs/hugo.toml
T
Tobias GesellchenandClaude Sonnet 4.6 14e9d54b4e fix(docs): pass baseURL from configure-pages to Hugo build
actions/configure-pages v5+ exports HUGO_BASEURL automatically,
which overrides hugo.toml. By adding id: pages to the step and
passing --baseURL explicitly, we get the correct sub-path
(https://gesellix.github.io/Bose-SoundTouch/) on GitHub Pages
while local dev (docker-compose.docs.yml already passes --baseURL /)
continues to work unchanged.

Also change hugo.toml baseURL to '/' as the neutral local default.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 14:08:19 +02:00

65 lines
1.2 KiB
TOML

baseURL = "/"
languageCode = "en-us"
title = "AfterTouch"
enableRobotsTXT = true
enableGitInfo = true
disablePathToLower = true
[module]
[module.hugoVersion]
extended = true
min = "0.112.0"
[[module.imports]]
path = "github.com/imfing/hextra"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
noClasses = false
[params]
description = "Keep your Bose SoundTouch speakers alive after the cloud shutdown"
displayUpdatedDate = true
dateFormat = "January 2, 2006"
[params.search]
enable = true
type = "flexsearch"
[params.search.flexsearch]
index = "content"
tokenize = "forward"
[params.navbar]
displayTitle = true
displayLogo = false
[params.footer]
enable = true
displayCopyright = true
displayPoweredBy = false
[[menu.main]]
identifier = "docs"
name = "Docs"
pageRef = "/docs"
weight = 1
[[menu.main]]
identifier = "blog"
name = "Blog"
pageRef = "/blog"
weight = 2
[[menu.main]]
identifier = "github"
name = "GitHub"
url = "https://github.com/gesellix/Bose-SoundTouch"
weight = 3
[menu.main.params]
type = "icon"
icon = "github"