panr / hugo-theme-terminal

A simple, retro theme for Hugo
MIT License
1.97k stars 738 forks source link

Header is broken on subpages #425

Closed glad-dev closed 3 weeks ago

glad-dev commented 1 year ago

A minimal working example of the bug can be found in this repository.

The framed header is broken when using it in a subfolder.

http://localhost:1313/posts/ displays the correct header: image

http://localhost:1313/other/ displays the broken header: image

Sir-Photch commented 1 year ago

A workaround for this:

Config.toml:

[markup.goldmark.renderer]
    unsafe = true # Allow HTML in md files

_index.md:

<div class="framed">
### this is my frame
yeah buddy!
</div>