thiagorossener / jekflix-template

A Jekyll theme inspired by Netflix. 🎬
https://jekflix.rossener.com/
Other
855 stars 1.18k forks source link

Search functionality for a different post category. #204

Closed ParthNikam closed 1 year ago

ParthNikam commented 1 year ago

I have used the Jekyll theme to create a PDF hosting site for my school's test papers. Rather than treating each paper as an individual post, I've organized them within a dedicated "_pdfs" folder, where each .md file contains links to the google drive of the respective PDFs.

I've successfully achieved my desired output, where the links to the PDFs are displayed under each post. However, I'm encountering an issue with the search functionality. It appears that the search feature only works for items within the "_posts" directory and doesn't include items within the "_pdfs" directory.

To provide more context, the "_pdfs" directory contains multiple .md files, each with a unique name. I'm looking for a solution to integrate these new .md files into the site's search function, allowing users to search for PDFs by their names.

I would greatly appreciate it if someone could help me find a way to incorporate these new .md files into the site's search functionality. Thank you in advance for any assistance! 🙏🙏