manastech / middleman-search

LunrJS-based search for Middleman
MIT License
58 stars 31 forks source link

Problems with Directory Indexes #26

Closed macandcheese closed 7 years ago

macandcheese commented 7 years ago

There's issue 15, which is closed, but I can't seem to find a solution here.

I have no problem getting my index.html page indexed, however when trying to index a folder of dynamically generated pages with directory indexes, so:

/build /posts post-slug-1 post-slug-2

, none of those pages will be indexed at all. I have tried putting the activate search block before and after the directory index block, but no luck. Is there some kind of wildcard I can use instead of just "posts/" ?

macandcheese commented 7 years ago

Hm, feel free to close this. I was setting the title of the pages in /posts outside of frontmatter, so it wasn't being indexed properly. Everywhere else I was setting title in frontmatter. Figured it out :)