Branding
Logo
[params.logo]
text = 'My Site'
link = '/'
# image_light = 'images/logo-light.png'
# image_dark = 'images/logo-dark.png'
alt_text = 'My Site — Home'- With no
image_lightset,textrenders as a plain text brand link (falls back tosite.Titleiftextis unset). - With
image_lightset, the image is used instead;image_darkswaps in for dark mode (falls back toimage_lightifimage_darkis unset). Text still renders alongside the image iftextis explicitly set. alt_textsets the image’saltattribute (falls back to"<site title> - Home").
This documentation site intentionally only sets logo.text and ships no sample logo image at all — this is an unofficial, unaffiliated port, so it deliberately avoids using (or even hotlinking) the original PyData Sphinx Theme’s branding.
Favicon
[params]
favicon = 'images/favicon.png'Path is relative to your site’s static/ directory, same as any other Hugo static asset reference.