Skip to content

Themes Header is completly broken when loaded into HugoΒ #9

@Vinylwalk3r

Description

@Vinylwalk3r

Describe the bug
The header is broken with both the searchbar being completly missplaced and the title being out of place ass well. The fonts are also wrong and the switch for Dark/Light theme are completly gone.

To Reproduce
Steps to reproduce the behavior:

  1. Git clone https://github.com/64bitpandas/amethyst ./themes
  2. Set "theme = "amethyst" " in config.toml
  3. Use "cp ./themes/amethyst/assets ./assets" to copy the themes assets folder into the working assets folder. I got several error messages if I didn't.
  4. "hugo serve"

Expected behavior
I'd expect the header to look as per the demo. The search bar to the right and the text in it's proper place. Check the demo for a ...well... demo of how it should look.

Screenshots
Imgur links to show what doesn't work.

Desktop (please complete the following information):

  • Device: Unraid VM
  • OS: Ubuntu Server 22.04
  • Browser: Vivaldi
  • Hugo version: 0.125.3+extended (installed from snap)
  • Node.js: v21.7.3
  • Node: 20.12.2

Additional context
A little question, why must the "assets" folder be copied into the root dir for the site? I thought themes fetched their assets from their respective themes/{theme-name} folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions