colinwilson / lotusdocs

📖 A free, lightweight, modern documentation theme for Hugo [WIP]

Home Page:https://lotusdocs.dev/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

themeColor in hugo.toml doesn't affect homepage

elizabethyalkut opened this issue · comments

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for support

Describe the bug

When I change the setting for themeColor in hugo.toml, the accent color on the internal pages changes immediately. However, the accent color (icons, buttons, links) on the homepage (localhost:1313) are still the default blue.

Expected behavior

I expect that the themeColor setting takes effect across the entire site, including the homepage.

Screenshots

No response

Environment

- OS: OSX 13.4.1
- Browser: Firefox
- Browser Version: 118.0.1

Not sure if relevant for your specific issue, but I had a similar problem. It was solved when I used the hugo extended version (as written in the docs). Make sure you are really using the extended version of hugo. See installation for linux here

In my alpine docker image, I used the following to install hugo extended version:

RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo