18F / jekyll_pages_api_search

DEPRECATED - Jekyll search plugin based on lunr.js and jekyll_pages_api
https://rubygems.org/gems/jekyll_pages_api_search
Other
39 stars 8 forks source link

Check for title in front matter #48

Closed brentryanjohnson closed 4 years ago

brentryanjohnson commented 4 years ago

I've noticed an issue where search result output page titles missing (see below).

This appears to be due to a lack of front matter (README file) or lack of title in the front matter.

Consider adding check for the presence of front matter and/or title key or some other solution.

Search results with missing title for second item

Search results with missing title for second item

eddietejeda commented 4 years ago

Good suggestion, but this repo is not active. Sites that want to use search should use search.gov.

The new default Federalist theme now supports both inline search results (using JS) and rendered in search.gov domain.

https://github.com/18F/federalist-uswds-jekyll

brentryanjohnson commented 4 years ago

Thanks @eddietejeda. Closing.