colinwilson / lotusdocs

📖 A free, lightweight, modern documentation theme for Hugo [WIP]
https://lotusdocs.dev/docs/
MIT License
341 stars 74 forks source link

themeColor in hugo.toml doesn't affect homepage #113

Open elizabethyalkut opened 11 months ago

elizabethyalkut commented 11 months ago

Past Issues Searched

Issue is a Bug Report

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
apamildner commented 5 months ago

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