Add basic pagefind setup#3354
Open
MTRNord wants to merge 1 commit into
Open
Conversation
Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>
Member
Author
|
Possibly worth deciding is if we want to exclude the author and category pages fully or just their post lists from the index to prevent duplicate post results. |
Member
Author
|
Notes from the meeting:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This adds a basic pagefind setup with the default search box and some extra labeling in case we decide we want some more advanced search dialog later.
It also does not do any styling for now. I think the defaults are sufficient for matrix.org
cc @thibaultamartin This likely needs SRE to update cloudflare for it to work. I am not sure who to ping and whats needed. Iirc you already run something like this on cloudflare so maybe you can help here?
To build pagefind we need
npx -y pagefind --site publicadded to cloudflareVisual changes
Search Bar in the Navigation
Search Modal Empty
Search bar when used
Related issues
Fixes #19
Role
Website & Content WG
Timeline
N/A
Signoff
See commits