Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Header is broken on subpages #425

Open
glad-dev opened this issue Jan 29, 2023 · 1 comment · May be fixed by #466
Open

Header is broken on subpages #425

glad-dev opened this issue Jan 29, 2023 · 1 comment · May be fixed by #466

Comments

@glad-dev
Copy link

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
Copy link
Contributor

Sir-Photch commented Apr 3, 2023

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>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants