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

Index and search over blog posts #292

Open
marko-bekhta opened this issue Jun 26, 2024 · 4 comments
Open

Index and search over blog posts #292

marko-bekhta opened this issue Jun 26, 2024 · 4 comments

Comments

@marko-bekhta
Copy link
Collaborator

We can add a search over blogs feature to the quarkus.io.

To match what we do for the documentation, the screen can look as:

image

We'd need to index the blog content + have a tag filter during the search.

We probably would want to read the adoc files to get some data from the front matter out: https://github.com/quarkusio/quarkusio.github.io/blob/45f7a24115a8a74172cf18102e2a1c4a0a21685b/_posts/2024-06-17-quarkus-3-11-2-released.adoc?plain=1#L1-L8
and then use the generated htmls as content.

Related to quarkusio/quarkusio.github.io#806

@yrodiere
Copy link
Member

I think @maxandersen and @ia3andy have talked about a "global" search on the website in the past.
I understand searching on all pages is definitely out of scope, but maybe a search box at the very top (e.g. to the right of the Quarkus logo), and searching across guides and blog posts, could make sense?

@yrodiere
Copy link
Member

We probably would want to read the adoc files to get some data from the front matter out: https://github.com/quarkusio/quarkusio.github.io/blob/45f7a24115a8a74172cf18102e2a1c4a0a21685b/_posts/2024-06-17-quarkus-3-11-2-released.adoc?plain=1#L1-L8

Remember we can adjust the generation of the blog posts. If adding <meta> tags in the page of each blog post is convenient, we can do that 🤷

@maxandersen
Copy link
Member

I think @maxandersen and @ia3andy have talked about a "global" search on the website in the past. I understand searching on all pages is definitely out of scope, but maybe a search box at the very top (e.g. to the right of the Quarkus logo), and searching across guides and blog posts, could make sense?

that would be nice - but what (if any) blocks us from adding the few pages that is on quarkus.io that is not guides nor blogs to the index so the search box will search across the site rather than just subset?

@marko-bekhta
Copy link
Collaborator Author

We probably can do the global search too, though it'll be just a text search with some "preselected" filters on guides... Or do you think that we should search across all versions of guides when a global search is used?
And if we do a global search we probably want to still keep the guides search for filters, right?

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

No branches or pull requests

3 participants