help/config.yml
Pierre-Olivier Mercier f50dcc8ba9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
theme: fix logo rendering with updated relearn theme
The theme overhauled its logo system to render #R-logo > .logo-image,
making the old layouts/partials/logo.html override (#logo > img) match
no CSS, so the wordmark overflowed the sidebar.

Remove the stale override and use the theme-native logo config: point
params.logo.src at the wordmark, suppress the redundant text title, and
declare the auto variant's light/dark variants explicitly so the
variant-gated logo also shows in dark mode. Set --LOGO-IMAGE-width to
90% in custom-header.html to fit the wide wordmark.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 00:24:21 +09:00

66 lines
2.1 KiB
YAML

baseURL: https://help.happydomain.org/
defaultContentLanguage: en
defaultContentLanguageInSubdir: true
theme: hugo-theme-relearn
languages:
en:
title: "happyDomain help center"
languageName: "English"
weight: 1
params:
landingPageName: "<i class='fas fa-home'></i> Home"
menu:
shortcuts:
- name: "<i class='fab fa-gitlab'></i> Project sources"
url: "https://framagit.org/happyDomain/"
- name: "<i class='fas fa-comments'></i> Matrix channel"
url: "https://matrix.to/#/#happyDNS:matrix.org"
- name: "<i class='fab fa-mastodon'></i> Mastodon"
url: "https://floss.social/@happyDomain"
fr:
title: "happyDomain centre d'aide"
weight: 2
languageName: "Français"
params:
landingPageName: "<i class='fas fa-home'></i> Accueil"
menu:
shortcuts:
- name: "<i class='fab fa-gitlab'></i> Sources"
url: "https://framagit.org/happyDomain/"
- name: "<i class='fas fa-comments'></i> Canal Matrix"
url: "https://matrix.to/#/#happyDNS:matrix.org"
- name: "<i class='fab fa-mastodon'></i> Mastodon"
url: "https://floss.social/@happyDomain"
params:
editURL: "https://framagit.org/happyDNS/help/-/blob/master/content/"
author:
name: "The happyDNS team"
# Wordmark logo handled by the theme's logo system (replaces the old
# layouts/partials/logo.html override that broke after the theme update).
logo:
src: "/img/happyDomain.png"
# The wordmark already reads "happyDomain", so don't render a text title
# next to it (a single space resolves to an empty logo title).
linkTitle: " "
showVisitedLinks: true
mermaid: false
# "auto" follows the OS light/dark preference: light -> green, dark ->
# relearn-dark. Both must be declared as variants so the theme attaches the
# logo to each (the logo is variant-gated since the theme update); otherwise
# the logo disappears in dark mode.
themeVariant:
- identifier: auto
auto: ["green", "relearn-dark"]
- identifier: green
- identifier: relearn-dark
outputs:
home: [ "HTML", "RSS", "PRINT"]