Search results often don't display the source page as a title? #7580
-
I'm not sure if this is a "me" issue, so I chose to open it as a Discussion rather than an Issue. When I use search, I often find that the results do not show what page the result is from - for example if I search for "test" on my website I get this: Ideally all of these results would show me the page that the extract has come from. I don't know if this is because I'm doing something incorrect with headers, or if I have a rogue setting or CSS or something. Steps to reproduce:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @YozoraXCII, Notice how your other pages work fine: https://github.com/Kometa-Team/Kometa/blob/83dd84c2f2627a5f0f21af4009a1bc0e93ad420a/docs/index.md?plain=1#L3-L8 |
Beta Was this translation helpful? Give feedback.
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 everyh1
on the page.Scope it to
.md-content
with the selector.