MarkdownMaster CMS Logo

Extra - CMS-Search

Provides search input functionality that hooks into the site

Initialization

To load this functionality from HTML:

<script>
CMS.loadExtra('cms-search');
</script>

or from within config.js

extras: {
  'cms-search': {}
}

Configuration

N/A

Required Schema

N/A

Usage

<input is="cms-search" type="posts"/>

Attributes

  • type - The type of collection to search

Example Styles

N/A