Skip to content

Search results often don't display the source page as a title? #7580

Answered by kamilkrzyskow
YozoraXCII asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @YozoraXCII,
there is some rogue CSS on your index page. Only the home page has this issue.

Notice how your other pages work fine:

https://github.com/Kometa-Team/Kometa/blob/83dd84c2f2627a5f0f21af4009a1bc0e93ad420a/docs/index.md?plain=1#L3-L8
The issue is the selector with the .md-typeset h1 that detects every h1 on the page.
Scope it to .md-content with the selector.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@YozoraXCII
Comment options

@kamilkrzyskow
Comment options

Answer selected by YozoraXCII
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants