Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing search page, properly link it #50

Merged
merged 2 commits into from Mar 20, 2024
Merged

Conversation

mattip
Copy link
Contributor

@mattip mattip commented Mar 20, 2024

Fixes #48

I guess no one ever checked that search was working? Weird.

@mattip
Copy link
Contributor Author

mattip commented Mar 20, 2024

It works

Copy link
Contributor

@fangerer fangerer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I guess no one ever tried it. Thanks, Matti.

@fangerer fangerer merged commit 605665a into hpyproject:main Mar 20, 2024
7 checks passed
Comment on lines +679 to +683
from nikola import filters

FILTERS = {
".html": [filters.add_header_permalinks],
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduced a visual regression:

After this PR:
Screenshot 2024-03-22 at 00 40 21

Before this PR:
Screenshot 2024-03-22 at 00 40 43

Search works fine without the permalinks; consider removing them for less visual clutter.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can just style them better? Being able to link to subheadings on pages is nice.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, that would be a nice solution. I'll create an issue for it, so it's not forgotten :)

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

Successfully merging this pull request may close these issues.

Website search field is malfunctioning
4 participants