bastienwirtz / homer

A very simple static homepage for your server.
https://homer-demo.netlify.app/
Apache License 2.0
9.36k stars 786 forks source link

No defaults when removing links section #575

Open jamminuesa opened 1 year ago

jamminuesa commented 1 year ago

Hi there, I believe there is a bug when the links section is set to false. In this scenario, the defaults section for layout and colourTheme is ignored. This is my config.yml file

`title: "Dashboard" subtitle: "Homer" logo: "assets/icons/pwa-512x512.png"

header: true footer: false

defaults: layout: list # Either 'columns', or 'list' colorTheme: dark # One of 'auto', 'light', or 'dark'

theme: default

links: false` Output: Theme light and columns layout

If I change links: false to links: [], then the output is theme dark and list layout

broizter commented 1 year ago

Yep same issue here. My workaround is to assign the same color values to both the light and dark theme in the config since I only ever wanna use the dark theme anyway.

stefanes commented 1 year ago

Can confim, no links section/navbar - no defaults... (tested in private windows across various browsers)