diff --git a/assets/js/lunr/lunr-store.js b/assets/js/lunr/lunr-store.js index 565e3b3e..5e1a6630 100644 --- a/assets/js/lunr/lunr-store.js +++ b/assets/js/lunr/lunr-store.js @@ -47,7 +47,7 @@ var store = [ }{%- unless forloop.last and l -%},{%- endunless -%} {%- endfor -%} {%- endfor -%}{%- if site.lunr.search_within_pages -%}, - {%- assign pages = site.pages | where_exp:'doc','doc.search != false' -%} + {%- assign pages = site.pages | where_exp:'doc','doc.search != false and doc.title != null' -%} {%- for doc in pages -%} {%- if forloop.last -%} {%- assign l = true -%}