jekyll-TeXt-theme
jekyll-TeXt-theme copied to clipboard
Not sure if it is me, but search isn't working for me.
I've been adding pages, but the search doesn't search them. Search only searches post titles.
[Description of the bug]
Steps to Reproduce
- Made a page outside of the posts
- Added it to the navigation bar
- Doesn't come up in search
Expected behavior
[What you expected to happen]
I expect all the pages, not just posts to come up in the search- like in the demo pages.
[Screenshots to help explain your problem.]
Environment (If Necessary)
- OS: [e.g. Github Pages, Windows 10, macOS 10.13, Linux(CentOS 7.5), iOS 11, Android 8(Pixel 2)]
- Ruby: [e.g. Github Pages, 2.4.0p0]
- Jekyll: [e.g. Github Pages, 3.7.3]
- Browser: [e.g. Chrome, Safari, Edge, Firefox]
I can not reproduce your situation, could you please provide more information?
I have found that the search only finds items in the 'collections', defined in _config.yml. By adding your directories as a collection, it should come up in the search results. See https://github.com/kitian616/jekyll-TeXt-theme/blob/master/docs/_config.yml#L209 as an example.