January 23, 2016

Expanding Ghost Hunter Search Engine

The ghost blog has a search engine which works by using the RSS feed to find entries. As I have starting writing more prolifically I realised that the blog search only worked for the first 15 entries. To fix the issue open the following file in your favourite text editor, I'm using nano:


nano core/server/models/plugins/pagination.js

Find the below block and adjust it to number needed, I did 100.

defaults = {
page: 1,
limit: 100
};
  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus