2017 © Pedro Peláez
 

herbie-plugin plugin-simplesearch

SimpleSearch Plugin for Herbie.

image

getherbie/plugin-simplesearch

SimpleSearch Plugin for Herbie.

  • Monday, November 27, 2017
  • by getherbie
  • Repository
  • 0 Watchers
  • 2 Stars
  • 806 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 8 % Grown

The README.md

Herbie Simplesearch Plugin

Simplesearch is a Herbie plugin that allows you to provide your website with a simple but useful search engine., (*1)

Installation

The plugin is installed with Composer., (*2)

$ composer require getherbie/plugin-simplesearch

After that, the plugin can be activated in the configuration file., (*3)

plugins:
    enable:
        - simplesearch

Configuration

Under plugins.simplesearch.config the following options are available., (*4)

Template paths to twig templates:, (*5)

formTemplate: @plugin/simplesearch/templates/form.twig
resultsTemplate: @plugin/simplesearch/templates/results.twig

Use page cache, if caching is enabled:, (*6)

usePageCache: false

Page properties

With the page property no_search individual pages can be excluded from the search. The page properties for such a page look like this:, (*7)

---
title: My page
no_search: true
---

A complete search page looks like this:, (*8)

---
title: Search
cached: false
hidden: true
---

# Search

{{ simplesearch_form() }}

{{ simplesearch_results() }}

Demo

A live demo can be viewed at https://herbie.tebe.ch/search, (*9)

The Versions

27/11 2017

dev-master

9999999-dev https://www.getherbie.org

SimpleSearch Plugin for Herbie.

  Sources   Download

BSD-3-Clause

The Requires

 

plugin search herbie simplesearch

05/04 2016

v1.0.0

1.0.0.0 http://www.getherbie.org

SimpleSearch Plugin for Herbie.

  Sources   Download

BSD-3-Clause

The Requires

 

plugin search herbie simplesearch

04/02 2015

v0.7.0

0.7.0.0 http://www.getherbie.org

Herbie Plugin Simplesearch

  Sources   Download

BSD-3-Clause

The Requires

 

plugin search herbie simplesearch

03/01 2015

v0.6.0

0.6.0.0 http://www.getherbie.org

Herbie Plugin Simplesearch

  Sources   Download

BSD-3-Clause

The Requires

 

plugin search herbie simplesearch

11/12 2014

v0.5.0

0.5.0.0 http://www.getherbie.org

Herbie Plugin Simplesearch

  Sources   Download

BSD-3-Clause

The Requires

 

plugin search herbie simplesearch