Adding a search form to Docpad site -


is there way have native search form indexes search results in docpad. dynamic search page example doesn't work , looking @ code wasn't me. think search form example , basic contact form example noobs myself looking adopt docpad , workflow.

thanks in advance help!

depends mean not working. able kitchin sink skeleton install? search page in skeleton reads query term url , searches documents in website word "coffee" in title

@getcollection('documents').findall({title:$like:query}) 

you should list of links documents "coffee" in title - not exciting on own.

if mean trying implement search page within own project there seems bit of 'gotcha' in have make sure docpad plugin clean urls installed in project.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -