diff --git a/.gitignore b/.gitignore
index a41fa66..aa62f8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,8 +21,6 @@ user/accounts/*
!user/accounts/.*
user/data/*
!user/data/.*
-user/plugins/*
-!user/plugins/.*
!user/themes/.*
user/localhost/config/security.yaml
user/config/security.yaml
diff --git a/user/plugins/error b/user/plugins/error
new file mode 160000
index 0000000..15748fd
--- /dev/null
+++ b/user/plugins/error
@@ -0,0 +1 @@
+Subproject commit 15748fd1e024aad3108e2a1a2238c7bb1deb6ab9
diff --git a/user/plugins/markdown-notices b/user/plugins/markdown-notices
new file mode 160000
index 0000000..b7b8961
--- /dev/null
+++ b/user/plugins/markdown-notices
@@ -0,0 +1 @@
+Subproject commit b7b8961eff19a760e7b2e9db52eff489234e6067
diff --git a/user/plugins/pagination/CHANGELOG.md b/user/plugins/pagination/CHANGELOG.md
new file mode 100644
index 0000000..1d80bf1
--- /dev/null
+++ b/user/plugins/pagination/CHANGELOG.md
@@ -0,0 +1,89 @@
+# v1.4.2
+## 05/09/2019
+
+1. [](#new)
+ * Add active class for active page [#37](https://github.com/getgrav/grav-plugin-pagination/pull/37)
+ * Added `ru` and `uk` translations [#38](https://github.com/getgrav/grav-plugin-pagination/pull/38)
+
+# v1.4.1
+## 08/28/2018
+
+1. [](#bugfix)
+ * Reverted Twig fix to address broken `url` in Twig [#34](https://github.com/getgrav/grav-plugin-pagination/issues/34)
+ * Removed duplicate README text [#30](https://github.com/getgrav/grav-plugin-pagination/issues/30)
+
+# v1.4.0
+## 08/20/2018
+
+1. [](#new)
+ * Added Twig pagination function [#22](https://github.com/getgrav/grav-plugin-pagination/pull/22)
+1. [](#improved)
+ * Removed Grav trait in favor of `Grav::instance()`
+ * Changed delta blueprint type from `text` to `number`
+ * Code cleanup
+
+# v1.3.2
+## 05/03/2016
+
+1. [](#new)
+ * Added default pagination to `page.collection.params.pagination` and `base_url` to `page.url`
+1. [](#improved)
+ * Use common lang strings in blueprints
+1. [](#bugfix)
+ * Improved and fixed README.md
+
+# v1.3.1
+## 08/29/2015
+
+1. [](#bugfix)
+ * Fixed pagination URLs in certain situations
+
+# v1.3.0
+## 08/25/2015
+
+1. [](#improved)
+ * Added blueprints for Grav Admin plugin
+
+# v1.2.7
+## 07/13/2015
+
+1. [](#new)
+ * Added ability to provide `/tmpl:template_name` parameter to pagination URL
+2. [](#improved)
+ * Allow checking of `header.content.pagination` **or** `header.pagination` to activate
+
+# v1.2.6
+## 07/12/2015
+
+2. [](#improved)
+ * no `/page:1` for first page in pagination set
+
+# v1.2.5
+## 02/19/2015
+
+2. [](#improved)
+ * Implemented new `param_sep` variable from Grav 0.9.18
+
+# v1.2.4
+## 02/05/2015
+
+2. [](#improved)
+ * Added support for HHVM
+
+# v1.2.3
+## 01/23/2015
+
+2. [](#improved)
+ * Added microdata information for links
+
+# v1.2.2
+## 01/09/2015
+
+2. [](#improved)
+ * NOTE: BREAKING CHANGE: Moved templates into `partials/` subfolder for consistency.
+
+# v1.2.1
+## 11/30/2014
+
+1. [](#new)
+ * ChangeLog started...
diff --git a/user/plugins/pagination/LICENSE b/user/plugins/pagination/LICENSE
new file mode 100644
index 0000000..484793a
--- /dev/null
+++ b/user/plugins/pagination/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Grav
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/user/plugins/pagination/README.md b/user/plugins/pagination/README.md
new file mode 100644
index 0000000..eae03eb
--- /dev/null
+++ b/user/plugins/pagination/README.md
@@ -0,0 +1,151 @@
+# Grav Pagination Plugin
+
+
+`Pagination` is a [Grav][grav] Plugin that allows to divide articles into discrete pages.
+
+
+# Installation
+
+To install this plugin, just download the zip version of this repository and unzip it under `/your/site/grav/user/plugins`. Then, rename the folder to `pagination`.
+
+You should now have all the plugin files under
+
+ /your/site/grav/user/plugins/pagination
+
+>> NOTE: This plugin is a modular component for Grav which requires [Grav](http://github.com/getgrav/grav), the [Error](https://github.com/getgrav/grav-plugin-error) and [Problems](https://github.com/getgrav/grav-plugin-problems) plugins, and a theme to be installed in order to operate.
+
+# Config Defaults
+
+```
+enabled: true
+built_in_css: true
+delta: 0
+```
+
+The 'delta' value controls how many pages left and right of the current page are visible. If set to 0 all pages will be shown.
+
+If you need to change any value, then the best process is to copy the [pagination.yaml](pagination.yaml) file into your `users/config/plugins/` folder (create it if it doesn't exist), and then modify there. This will override the default settings.
+
+# Usage for content authors
+
+To use this plugin:
+
+- the `pagination` plugin must be installed and enabled
+- the active theme must have pagination support (most Grav themes support pagination; if you’re building your own theme, see the next section for adding pagination support)
+
+On the content side, you should have a blog-like structure, for example:
+
+```
+blog/
+ blog.md
+ my-cool-blog-post/
+ item.md
+ another-post/
+ item.md
+```
+
+Then in your `blog.md`, set up the page’s collection using YAML front-matter:
+
+```yaml
+---
+title: My Gravtastic Blog
+content:
+ items: '@self.children'
+ order:
+ by: header.date
+ dir: desc
+ pagination: true
+ limit: 10
+---
+
+# My Gravtastic Blog
+## A tale of **awesomazing** adventures
+```
+
+Your `/blog` page should now list the 10 most recent blog posts, and show pagination links.
+
+
+# Usage for theme developers
+
+### Including the default pagination template
+
+If you are developing your own theme and want to support pagination, you need to include the pagination template in the relevant pages. For instance in `blog.html.twig`:
+
+```twig
+{# /your/site/grav/user/themes/custom-theme/templates/blog.html.twig #}
+
+{% set collection = page.collection() %}
+
+{# Render the list of blog posts (automatically filtered when using pagination) #}
+{% for child in collection %}
+ ...
+{% endfor %}
+
+{# Render the pagination list #}
+{% if config.plugins.pagination.enabled and collection.params.pagination %}
+ {% include 'partials/pagination.html.twig' with {'base_url':page.url, 'pagination':collection.params.pagination} %}
+{% endif %}
+```
+
+### Overriding the pagination HTML
+
+If you want to override the look and feel of the pagination, copy the template file [pagination.html.twig][pagination] into the templates folder of your custom theme:
+
+```
+/your/site/grav/user/themes/custom-theme/templates/partials/pagination.html.twig
+```
+
+You can now edit the override and tweak it to meet your needs.
+
+[pagination]: templates/partials/pagination.html.twig
+[grav]: http://github.com/getgrav/grav
+
+# Twig pagination function
+
+It is now possible to create paginated collections on demand in your twig file. You only need to:
+
+* activate the pagination plugin
+* pick or create the collection you want
+* paginate it
+* render the paginated collection
+
+## Creating a paginated collection
+
+### Basic usage
+
+```twig
+{# some collection #}
+{% set collection = page.collection() %}
+{# number of items per page #}
+{% set limit = 5 %}
+{% do paginate( collection, limit ) %}
+```
+
+This creates a paginated collection with `limit` items per page. As usual, any url parameters - except the page parameter, which is recreated - are passed on to the pagination bar's links.
+
+### Extended usage
+
+```twig
+{% set collection = page.find( '/other/_events' ).children %}
+{% set limit = 5 %}
+{% set ignore_url_param_array = [ 'event' ] %}
+{% do paginate( collection, limit, ignore_url_param_array ) %}
+```
+
+The above example is taken from http://ami-web.nl/events. This code creates a paginated collection with 5 items per page (the event summary list) which is presented together with an active event. The active event appears in only one of the summary pages. Consequently, the url parameter 'event' should be filtered out so it does not show up in the pagination bar's links, preventing inconsistencies with different page parameters. Any non listed url parameters (except the page parameter) are passed through unaffected. The requested page contains logic to pick a sensible default event.
+
+### Rendering the paginated collection
+
+The rest is identical to the standard procedure:
+
+```twig
+{# create list of items #}
+{% for item in collection %}
+ ...
+{% endfor %}
+
+{# include the pagination bar #}
+{% if config.plugins.pagination.enabled and collection.params.pagination %}
+ {% include 'partials/pagination.html.twig' with {'base_url':page.url, 'pagination':collection.params.pagination} %}
+{% endif %}
+```
diff --git a/user/plugins/pagination/blueprints.yaml b/user/plugins/pagination/blueprints.yaml
new file mode 100644
index 0000000..2d08b8a
--- /dev/null
+++ b/user/plugins/pagination/blueprints.yaml
@@ -0,0 +1,48 @@
+name: Pagination
+version: 1.4.2
+description: "**Pagination** is a very useful plugin to help navigate a large collection of pages, such as for a **blog**."
+icon: list-ol
+author:
+ name: Team Grav
+ email: devs@getgrav.org
+ url: http://getgrav.org
+homepage: https://github.com/getgrav/grav-plugin-pagination
+keywords: pagination, plugin, pages, navigation
+bugs: https://github.com/getgrav/grav-plugin-pagination/issues
+license: MIT
+
+form:
+ validation: strict
+ fields:
+ enabled:
+ type: toggle
+ label: PLUGIN_ADMIN.PLUGIN_STATUS
+ highlight: 1
+ default: 0
+ options:
+ 1: PLUGIN_ADMIN.ENABLED
+ 0: PLUGIN_ADMIN.DISABLED
+ validate:
+ type: bool
+
+ delta:
+ type: number
+ size: x-small
+ label: PLUGIN_PAGINATION.DELTA
+ default: 0
+ help: PLUGIN_PAGINATION.DELTA_HELP
+ validate:
+ type: number
+ min: 0
+
+ built_in_css:
+ type: toggle
+ label: PLUGIN_PAGINATION.BUILTIN_CSS
+ help: PLUGIN_PAGINATION.BUILTIN_CSS_HELP
+ highlight: 1
+ default: 1
+ options:
+ 1: PLUGIN_ADMIN.ENABLED
+ 0: PLUGIN_ADMIN.DISABLED
+ validate:
+ type: bool
diff --git a/user/plugins/pagination/classes/paginationhelper.php b/user/plugins/pagination/classes/paginationhelper.php
new file mode 100644
index 0000000..a780824
--- /dev/null
+++ b/user/plugins/pagination/classes/paginationhelper.php
@@ -0,0 +1,132 @@
+current = $uri->currentPage();
+
+ // get params
+ $url_params = explode('/', ltrim($uri->params(), '/'));
+
+ $params = $collection->params();
+
+ foreach ($url_params as $key => $value) {
+ if (strpos($value, 'page' . $config->get('system.param_sep')) !== false) {
+ unset($url_params[$key]);
+ }
+ if (isset($params['ignore_url_params'])) {
+ foreach ((array)$params['ignore_params'] as $ignore_param) {
+ if (strpos($value, $ignore_param . $config->get('system.param_sep')) !== false) {
+ unset($url_params[$key]);
+ }
+ }
+ }
+ }
+
+ $this->url_params = '/'.implode('/', $url_params);
+
+ // check for empty params
+ if ($this->url_params === '/') {
+ $this->url_params = '';
+ }
+
+ $this->items_per_page = $params['limit'];
+ $this->page_count = ceil($collection->count() / $this->items_per_page);
+
+ for ($x=1; $x <= $this->page_count; $x++) {
+ if ($x === 1) {
+ $this->items[$x] = new PaginationPage($x, '');
+ } else {
+ $this->items[$x] = new PaginationPage($x, '/page' . $config->get('system.param_sep') . $x);
+ }
+ }
+ }
+
+ /**
+ * Returns true if current item has previous sibling.
+ *
+ * @return bool
+ */
+ public function hasPrev()
+ {
+ if (array_key_exists($this->current -1, $this->items)) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns true if current item has next sibling.
+ *
+ * @return bool
+ */
+ public function hasNext()
+ {
+ if (array_key_exists($this->current +1, $this->items)) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Return previous url.
+ *
+ * @return string|null
+ */
+ public function prevUrl()
+ {
+ if (array_key_exists($this->current -1, $this->items)) {
+ return $this->items[$this->current -1]->url;
+ }
+
+ return null;
+ }
+
+ /**
+ * Return next url.
+ *
+ * @return string|null
+ */
+ public function nextUrl()
+ {
+ if (array_key_exists($this->current +1, $this->items)) {
+ return $this->items[$this->current +1]->url;
+ }
+
+ return null;
+ }
+
+ public function params()
+ {
+ return $this->url_params;
+ }
+}
diff --git a/user/plugins/pagination/classes/paginationpage.php b/user/plugins/pagination/classes/paginationpage.php
new file mode 100644
index 0000000..0a9e144
--- /dev/null
+++ b/user/plugins/pagination/classes/paginationpage.php
@@ -0,0 +1,84 @@
+grav = Grav::instance();
+ $this->number = $number;
+ $this->url = $url;
+ $this->delta = $this->grav['config']->get('plugins.pagination.delta');
+ }
+
+ /**
+ * Returns true if the page is the current one.
+ *
+ * @return bool
+ */
+ public function isCurrent()
+ {
+ if ($this->grav['uri']->currentPage() == $this->number) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns true if the page is within a configurable delta of the current one
+ *
+ * @return bool
+ */
+ public function isInDelta()
+ {
+ if (!$this->delta) {
+ return true;
+ }
+
+ return abs($this->grav['uri']->currentPage() - $this->number) < $this->delta;
+ }
+
+ /**
+ * Returns true is this page is the last/first one at the border of the delta range
+ * (Used to display a "gap" li element ...)
+ *
+ * @return bool
+ */
+ public function isDeltaBorder()
+ {
+ if (!$this->delta) {
+ return false;
+ }
+
+ return abs($this->grav['uri']->currentPage() - $this->number) == $this->delta;
+ }
+}
diff --git a/user/plugins/pagination/css/pagination.css b/user/plugins/pagination/css/pagination.css
new file mode 100644
index 0000000..5103d37
--- /dev/null
+++ b/user/plugins/pagination/css/pagination.css
@@ -0,0 +1,17 @@
+.pagination {
+ list-style: none;
+ padding: 0;
+ margin: 3rem 0 1rem;
+ text-align: center;
+ color: #aaa;
+}
+
+.pagination li {
+ display: inline-block;
+ border: 1px solid #eee;
+}
+
+.pagination a, .pagination span {
+ display: inline-block;
+ padding: 4px 15px;
+}
diff --git a/user/plugins/pagination/hebe.json b/user/plugins/pagination/hebe.json
new file mode 100644
index 0000000..c6e7d2f
--- /dev/null
+++ b/user/plugins/pagination/hebe.json
@@ -0,0 +1,15 @@
+{
+ "project":"grav-plugin-pagination",
+ "platforms":{
+ "grav":{
+ "nodes":{
+ "plugin":[
+ {
+ "source":"/",
+ "destination":"/user/plugins/pagination"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/user/plugins/pagination/languages.yaml b/user/plugins/pagination/languages.yaml
new file mode 100644
index 0000000..c8c32f4
--- /dev/null
+++ b/user/plugins/pagination/languages.yaml
@@ -0,0 +1,20 @@
+en:
+ PLUGIN_PAGINATION:
+ DELTA: 'Delta'
+ DELTA_HELP: 'How many pages to show left and right of the current page'
+ BUILTIN_CSS: 'Use built in CSS'
+ BUILTIN_CSS_HELP: 'Include the CSS provided by the Pagination plugin'
+
+ru:
+ PLUGIN_PAGINATION:
+ DELTA: 'Дельта'
+ DELTA_HELP: 'Сколько страниц показывать слева и справа от текущей страницы'
+ BUILTIN_CSS: 'Использовать встроенный CSS'
+ BUILTIN_CSS_HELP: 'Использовать CSS, предоставленный плагином Pagination'
+
+uk:
+ PLUGIN_PAGINATION:
+ DELTA: 'Дельта'
+ DELTA_HELP: 'Скільки сторінок відображатиметься ліворуч і праворуч від поточної сторінки'
+ BUILTIN_CSS: 'Використовувати вбудований CSS'
+ BUILTIN_CSS_HELP: 'Використовувати CSS, наданий плагіном Pagination'
diff --git a/user/plugins/pagination/pagination.php b/user/plugins/pagination/pagination.php
new file mode 100644
index 0000000..531ca0e
--- /dev/null
+++ b/user/plugins/pagination/pagination.php
@@ -0,0 +1,141 @@
+ ['onPluginsInitialized', 0]
+ ];
+ }
+
+ /**
+ * Initialize configuration
+ */
+ public function onPluginsInitialized()
+ {
+ if ($this->isAdmin()) {
+ $this->active = false;
+ return;
+ }
+
+ $this->enable([
+ 'onTwigTemplatePaths' => ['onTwigTemplatePaths', 0],
+ 'onPageInitialized' => ['onPageInitialized', 0],
+ 'onTwigExtensions' => ['onTwigExtensions', 0]
+ ]);
+ }
+
+ /**
+ * Add current directory to twig lookup paths.
+ */
+ public function onTwigTemplatePaths()
+ {
+ $this->grav['twig']->twig_paths[] = __DIR__ . '/templates';
+ }
+
+ /**
+ * Add Twig Extensions
+ */
+ public function onTwigExtensions()
+ {
+ require_once(__DIR__.'/twig/PaginationTwigExtension.php');
+
+ $this->grav['twig']->twig->addExtension(new PaginationTwigExtension());
+ }
+
+ /**
+ * Enable pagination if page has params.pagination = true.
+ */
+ public function onPageInitialized()
+ {
+ /** @var Page $page */
+ $page = $this->grav['page'];
+
+ if ($page && ($page->value('header.content.pagination') || $page->value('header.pagination'))) {
+ $this->enable([
+ 'onCollectionProcessed' => ['onCollectionProcessed', 0],
+ 'onTwigSiteVariables' => ['onTwigSiteVariables', 0]
+ ]);
+
+ $template = $this->grav['uri']->param('tmpl');
+ if ($template) {
+ $page->template($template);
+ }
+ }
+ }
+
+ /**
+ * Create pagination object for the page.
+ *
+ * @param Event $event
+ */
+ public function onCollectionProcessed(Event $event)
+ {
+ /** @var Collection $collection */
+ $collection = $event['collection'];
+ $params = $collection->params();
+
+ // Only add pagination if it has been enabled for the collection.
+ if (empty($params['pagination'])) {
+ return;
+ }
+
+ if (!empty($params['limit']) && $collection->count() > $params['limit']) {
+ require_once __DIR__ . '/classes/paginationhelper.php';
+ $this->pagination = new PaginationHelper($collection);
+ $collection->setParams(['pagination' => $this->pagination]);
+ }
+ }
+
+ /**
+ * Set needed variables to display pagination.
+ */
+ public function onTwigSiteVariables()
+ {
+ if ($this->config->get('plugins.pagination.built_in_css')) {
+ $this->grav['assets']->add('plugin://pagination/css/pagination.css');
+ }
+ }
+
+ /**
+ * pagination
+ *
+ * @param Collection $collection
+ * @param int $limit
+ * @param array $ignore_param_array url parameters to be ignored in page links
+ */
+ public function paginateCollection( $collection, $limit, $ignore_param_array = [])
+ {
+ $collection->setParams(['pagination' => 'true']);
+ $collection->setParams(['limit' => $limit]);
+ $collection->setParams(['ignore_params' => $ignore_param_array]);
+
+ if ($collection->count() > $limit) {
+ require_once __DIR__ . '/classes/paginationhelper.php';
+ $this->pagination = new PaginationHelper($collection);
+ $collection->setParams(['pagination' => $this->pagination]);
+
+ $uri = $this->grav['uri'];
+ $start = ($uri->currentPage() - 1) * $limit;
+
+ if ($limit && $collection->count() > $limit) {
+ $collection->slice($start, $limit);
+ }
+ }
+ }
+}
diff --git a/user/plugins/pagination/pagination.yaml b/user/plugins/pagination/pagination.yaml
new file mode 100644
index 0000000..c83c903
--- /dev/null
+++ b/user/plugins/pagination/pagination.yaml
@@ -0,0 +1,3 @@
+enabled: true
+built_in_css: true
+delta: 0
diff --git a/user/plugins/pagination/templates/partials/pagination.html.twig b/user/plugins/pagination/templates/partials/pagination.html.twig
new file mode 100644
index 0000000..d7f05ff
--- /dev/null
+++ b/user/plugins/pagination/templates/partials/pagination.html.twig
@@ -0,0 +1,34 @@
+{% set pagination = pagination|default(page.collection.params.pagination) %}
+{% set base_url = base_url|default(page.url) %}
+
+{% if pagination|length > 1 %}
+
+
+ {% if pagination.hasPrev %}
+ {% set url = (base_url ~ pagination.params ~ pagination.prevUrl)|replace({'//':'/'}) %}
+
+
+{% endif %}
diff --git a/user/plugins/pagination/twig/PaginationTwigExtension.php b/user/plugins/pagination/twig/PaginationTwigExtension.php
new file mode 100644
index 0000000..ca1689d
--- /dev/null
+++ b/user/plugins/pagination/twig/PaginationTwigExtension.php
@@ -0,0 +1,42 @@
+config = Grav::instance()['config'];
+ }
+
+ /**
+ * Returns extension name.
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return 'PaginationTwigExtension';
+ }
+
+ /**
+ * Return a list of all functions.
+ *
+ * @return array
+ */
+ public function getFunctions()
+ {
+ return [
+ new \Twig_SimpleFunction('paginate', [$this, 'paginateFunc']),
+ ];
+ }
+
+ public function paginateFunc($collection, $limit, $ignore_url_param_array = []) {
+ $pag = new PaginationPlugin($this, Grav::instance(), $this->config);
+ $pag->paginateCollection($collection, $limit, $ignore_url_param_array);
+ }
+}
diff --git a/user/plugins/problems b/user/plugins/problems
new file mode 160000
index 0000000..404bcfc
--- /dev/null
+++ b/user/plugins/problems
@@ -0,0 +1 @@
+Subproject commit 404bcfce6b95f5a3f3de39c1d2a8939abcd6db20
diff --git a/user/plugins/simplesearch/.gitignore b/user/plugins/simplesearch/.gitignore
new file mode 100644
index 0000000..8828462
--- /dev/null
+++ b/user/plugins/simplesearch/.gitignore
@@ -0,0 +1,2 @@
+.DS_Store
+/.idea
diff --git a/user/plugins/simplesearch/CHANGELOG.md b/user/plugins/simplesearch/CHANGELOG.md
new file mode 100644
index 0000000..8da3cac
--- /dev/null
+++ b/user/plugins/simplesearch/CHANGELOG.md
@@ -0,0 +1,279 @@
+# v2.2.1
+## 12/02/2020
+
+1. [](#new)
+ * Require Grav 1.6.0+
+ * Added autoloader
+ * Pass phpstan level 3 tests
+1. [](#bugfix)
+ * Fixed `header_keys_ignored` configuration option not taking effect
+
+# v2.2.0
+## 09/14/2020
+
+1. [](#improved)
+ * Added config option to choose keys to ignore when searching header
+ * Added ability to opt-out of page search by setting: `simplesearch: process: false` in page header
+ * Added `form` and `forms` to default list of ignores in page header searches
+1. [](#bugfix)
+ * Fix issue to ensure matching ignore keys only checked at root level
+ * Fix issue where searchable header content was growing exponentially
+
+# v2.1.0
+## 05/27/2020
+
+1. [](#new)
+ * Added ability to search page headers (excluding title, taxonomy, content)
+
+# v2.0.0
+## 05/13/2020
+
+1. [](#new)
+ * Allow searching the content of modular pages [#170](https://github.com/getgrav/grav-plugin-simplesearch/pull/170)
+ * Allow configuration of Title/Content/Taxononmy searchable types [#184](https://github.com/getgrav/grav-plugin-simplesearch/pull/184)
+1. [](#improved)
+ * Improved default vs custom search page functionality [#186](https://github.com/getgrav/grav-plugin-simplesearch/pull/186)
+ * Add field label for screen reader accessibility [#171](https://github.com/getgrav/grav-plugin-simplesearch/pull/171)
+ * Added Traditional Chinese [#169](https://github.com/getgrav/grav-plugin-simplesearch/pull/169)
+ * Updated Russian and English [#165](https://github.com/getgrav/grav-plugin-simplesearch/pull/165)
+ * Added Galacian [#155](https://github.com/getgrav/grav-plugin-simplesearch/pull/155)
+1. [](#bugfix)
+ * Fixed input attribute [#165](https://github.com/getgrav/grav-plugin-simplesearch/pull/165)
+
+# v1.14.2
+## 12/07/2018
+
+1. [](#improved)
+ * Optimize, cleanup and remove typos [#163](https://github.com/getgrav/grav-plugin-simplesearch/pull/163)
+ * Removed `blog` as default filter [#166](https://github.com/getgrav/grav-plugin-simplesearch/pull/166)
+ * Polish translation [#144](https://github.com/getgrav/grav-plugin-simplesearch/pull/144)
+ * Kazakh translation [#153](https://github.com/getgrav/grav-plugin-simplesearch/pull/153)
+ * Spelling corrections [#145](https://github.com/getgrav/grav-plugin-simplesearch/pull/145)
+1. [](#bugfix)
+ * Fix JS to work with IE11 [#161](https://github.com/getgrav/grav-plugin-simplesearch/pull/161)
+ * Updated javascript to be compatible with IE11 [#161](https://github.com/getgrav/grav-plugin-simplesearch/pull/161)
+ * Ensure `$values` is an array to prevent PHP error on implode [#146](https://github.com/getgrav/grav-plugin-simplesearch/pull/146)
+
+# v1.14.1
+## 01/11/2018
+
+1. [](#bugfix)
+ * Fix for Gantry5 themes
+
+# v1.14.0
+## 01/08/2018
+
+1. [](#new)
+ * Added Danish translations [#127](https://github.com/getgrav/grav-plugin-simplesearch/pull/127)
+1. [](#improved)
+ * New option to disable built-in JS [#130](https://github.com/getgrav/grav-plugin-simplesearch/pull/130)
+ * Changed elipsis from `...` to `…` [#133](https://github.com/getgrav/grav-plugin-simplesearch/pull/133)
+ * Added missing French translations [#136](https://github.com/getgrav/grav-plugin-simplesearch/pull/136)
+ * Added missing German translations [#128](https://github.com/getgrav/grav-plugin-simplesearch/pull/128)
+1. [](#bugfix)
+ * Escaped `query` in Twig templates for XSS protection
+
+# v1.13.0
+## 07/26/2017
+
+1. [](#improved)
+ * Support for multiple forms and fields in the same page
+1. [](#bugfix)
+ * Fix typo in `SEARCH_FIELD_MINIUMUM_CHARACTERS` translation string
+ * Fixed validation and JS submission
+ * Separated JS from inline to file
+ * Fixed issue with min query length always enforced. It is now possible to have no minimum length by setting to `false` or `0`
+
+# v1.12.0
+## 05/31/2017
+
+1. [](#new)
+ * Added option to switch between Rendered HTML and Raw Markdown content searching. Raw Markdown is faster than default.
+
+# v1.11.0
+## 05/29/2017
+
+1. [](#new)
+ * Allow to use "@none"/"none@" in the "Category filter" in Admin to allow removing the filter
+
+# v1.10.2
+## 04/19/2017
+
+1. [](#bugfix)
+ * Only check ACL if the Login plugin is installed [#112](https://github.com/getgrav/grav-plugin-simplesearch/pull/112)
+
+# v1.10.1
+## 04/11/2017
+
+1. [](#new)
+ * Added Portuguese translation
+ * Add hint when the minimum search field length is not matched
+1. [](#bugfix)
+ * Default `ignore_accented_characters` to false
+ * Fallback to regular search if searching with `ignore_accented_characters` on an unsupported charset raises an exception [#107](https://github.com/getgrav/grav-plugin-simplesearch/issues/107)
+ * Check ACL before listing a page in the search results [#102](https://github.com/getgrav/grav-plugin-simplesearch/pull/102)
+ * Fix with ignoring `min_query_length` when using the button [#99](https://github.com/getgrav/grav-plugin-simplesearch/issues/99)
+
+# v1.10.0
+## 01/23/2017
+
+1. [](#new)
+ * Added spanish translation
+ * Added japanese translation
+ * Added persian translation
+1. [](#improved)
+ * Added option to switch between Rendered HTML and Raw Markdown content searching. Raw Markdown is faster than default.
+ * Removed jQuery dependency, fixes issue when jQuery is loaded in the footer [#57](https://github.com/getgrav/grav-plugin-simplesearch/pull/57)
+ * Added option to ignore accents when searching [#89](https://github.com/getgrav/grav-plugin-simplesearch/pull/89)
+1. [](#bugfix)
+ * Remove unpublished and un-routable pages from the result set
+ * Fixed issue when using @self as route
+ * Fix overloaded property issue when searching on a page with simplesearch header [#80](https://github.com/getgrav/grav-plugin-simplesearch/issues/80)
+ * Fix issue with empty string and leading commas [#71](https://github.com/getgrav/grav-plugin-simplesearch/issues/71)
+
+# v1.9.3
+## 10/19/2016
+
+1. [](#bugfix)
+ * Fixed an issue with invalid syntax in `route: @self` logic
+
+# v1.9.2
+## 09/19/2016
+
+1. [](#bugfix)
+ * Reverted change in events - causing problems
+ * Reverted fix for `route: @self`, breaking `filter: @self` (used in getgrav.org)
+
+# v1.9.1
+## 09/08/2016
+
+1. [](#bugfix)
+ * Fixed logic to use `onPageInitialized` event
+
+# v1.9.0
+## 09/06/2016
+
+1. [](#new)
+ * Multiple search boxes support [#52](https://github.com/getgrav/grav-plugin-simplesearch/pull/52)
+ * Added Croatian and Russian translation
+1. [](#improved)
+ * Added support for Grav's autoescape twig setting
+1. [](#bugfix)
+ * Fix searching on `@self `[#53](https://github.com/getgrav/grav-plugin-simplesearch/pull/53)
+
+# v1.8.0
+## 07/14/2016
+
+1. [](#new)
+ * Added dutch and romanian
+1. [](#bugfix)
+ * Fix translating the search input placeholder
+
+# v1.7.1
+## 05/03/2016
+
+1. [](#new)
+ * Added configurable `min length` option for how many characters needed before you can search
+
+# v1.7.0
+## 04/30/2016
+
+1. [](#new)
+ * Added support for taxonomy searching in regular searches (not just on-page searches as was the case previously)
+ * Added support for `route: '@self'` to use the route of the current page without specifying it.
+ * Added display search button option - #33
+ * Refactored code for clarity
+
+# v1.6.2
+## 01/06/2016
+
+1. [](#improved)
+ * Improved the README instructions on how to save all pages
+
+# v1.6.1
+## 11/11/2015
+
+1. [](#improved)
+ * Strip HTML tags from title and content before searching
+
+# v1.6.0
+## 11/11/2015
+
+1. [](#new)
+ * Removing `filter:` from configuration will search **ALL** pages
+
+# v1.5.1
+## 10/15/2015
+
+1. [](#improved)
+ * Minor performance fix
+ * Updated README.md with more help
+1. [](#bugfix)
+ * Fix for special character searches
+
+# v1.5.0
+## 10/07/2015
+
+1. [](#new)
+ * Allow simplesearch to work with on-page collections
+
+# v1.4.1
+## 08/31/2015
+
+1. [](#improved)
+ * Fixed some blueprint issues
+
+# v1.4.0
+## 08/25/2015
+
+1. [](#improved)
+ * Added blueprints for Grav Admin plugin
+ * Added results sorting
+
+# v1.3.0
+## 07/21/2015
+
+1. [](#new)
+ * Added support for modular pages in results
+
+# v1.2.7
+## 07/17/2015
+
+1. [](#bugfix)
+ * Fixed "Undefined index: extension" error
+
+# v1.2.6
+## 07/14/2015
+
+1. [](#bugfix)
+ * Fixed URL issue that showed up with multi-languages
+
+# v1.2.5
+## 04/24/2015
+
+1. [](#bugfix)
+ * Fixed issue with broken image
+
+# v1.2.4
+## 02/19/2015
+
+2. [](#improved)
+ * Implemented new `param_sep` variable from Grav 0.9.18
+
+# v1.2.3
+## 01/06/2015
+
+1. [](#improved)
+ * Improved `README.md` file with more information
+
+# v1.2.2
+## 12/21/2014
+
+1. [](#bugfix)
+ * Fix for invalid base_url in some instances
+
+# v1.2.1
+## 11/30/2014
+
+1. [](#new)
+ * ChangeLog started...
diff --git a/user/plugins/simplesearch/LICENSE b/user/plugins/simplesearch/LICENSE
new file mode 100644
index 0000000..484793a
--- /dev/null
+++ b/user/plugins/simplesearch/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Grav
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/user/plugins/simplesearch/README.md b/user/plugins/simplesearch/README.md
new file mode 100644
index 0000000..f8d7d0a
--- /dev/null
+++ b/user/plugins/simplesearch/README.md
@@ -0,0 +1,209 @@
+# Grav SimpleSearch Plugin
+
+![SimpleSearch](assets/readme_1.png)
+
+`SimpleSearch` is a simple, yet very powerful [Grav][grav] plugin that adds search capabilities to your Grav instance. By default it can search Page **Titles**, **Content**, **Taxonomy**, and also a raw page **Header**.
+
+# Installation
+
+Installing the SimpleSearch plugin can be done in one of two ways. Our GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.
+
+## GPM Installation (Preferred)
+
+The simplest way to install this plugin is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm) through your system's Terminal (also called the command line). From the root of your Grav install type:
+
+ bin/gpm install simplesearch
+
+This will install the SimpleSearch plugin into your `/user/plugins` directory within Grav. Its files can be found under `/your/site/grav/user/plugins/simplesearch`.
+
+## Manual Installation
+
+To install this plugin, just download the zip version of this repository and unzip it under `/your/site/grav/user/plugins`. Then, rename the folder to `simplesearch`. You can find these files either on [GitHub](https://github.com/getgrav/grav-plugin-simplesearch) or via [GetGrav.org](http://getgrav.org/downloads/plugins#extras).
+
+You should now have all the plugin files under
+
+ /your/site/grav/user/plugins/simplesearch
+
+> NOTE: This plugin is a modular component for Grav which requires [Grav](http://github.com/getgrav/grav), the [Error](https://github.com/getgrav/grav-plugin-error) and [Problems](https://github.com/getgrav/grav-plugin-problems) plugins, and a theme to be installed in order to operate.
+
+# Config Options
+
+To effectively use the plugin, you first need to create an override config. To do so, create the folder `user/config/plugins` (if it doesn't exist already) and copy the [simplesearch.yaml][simplesearch] config file in there.
+
+```
+enabled: true
+built_in_css: true
+built_in_js: true
+display_button: false
+min_query_length: 3
+route: /search
+search_content: rendered
+template: simplesearch_results
+filters:
+ category:
+filter_combinator: and
+ignore_accented_characters: false
+order:
+ by: date
+ dir: desc
+searchable_types:
+ title: true
+ content: true
+ taxonomy: true
+ header: false
+header_keys_ignored: ['title', 'taxonomy','content', 'form', 'forms', 'media_order']
+```
+
+By creating the configuration file: `user/config/plugins/simplesearch.yaml` you have effectively created a site-wide configuration for SimpleSearch. However, you may want to have multiple searches.
+
+> NOTE: If you want to search **ALL PAGES** just keep the `filters` section empty.
+
+To accomplish multiple search types in a single site, you should use **page-based** configuration. This is simple to do, simply provide any or all of the configuration options under a `simplesearch:` header in your page frontmatter. For example:
+
+```
+simplesearch:
+ process: true
+ route: @self
+ filters:
+ - @self
+ - @taxonomy: [tag]
+ filter_combinator: and
+```
+
+ These page headers will only be taken into account if the search route points to this page. For example: here the route points to `@self` which in turn resolves to `/blog`. You can also specify the route explicitly with `route: /blog` if you so choose. This header is within the `/user/pages/blog/blog.md` file. We will cover this self-controlled form of search handling below.
+
+# Usage
+
+There are two approaches to using SimpleSearch.
+
+## 1. Standalone Search Page
+
+This is the traditional approach and involves having a searchbox 'somewhere' on your site. When you search you are shown a new page that displays the search results. On this page you will see a summary of the results and be able to click a link to visit each applicable page within your site. Think about how **Google** and other traditional search engines work.
+
+After installing the SimpleSearch plugin, you can add a simple **searchbox** to your site by including the provided twig template. Or copy it from the plugin to your theme and customize it as you please:
+
+```
+{% include 'partials/simplesearch_searchbox.html.twig' %}
+```
+
+By default the **simplesearch_searchbox** Twig template uses the `route` as defined in the configuration. The SimpleSearch plugin uses this route and then appends a `query:` parameter to create the following final URL.
+
+```
+http://yoursite.com/search/query:something
+```
+
+1. `/search`: This is the **route** setting and it can be changed
+2. `/query:something`: This is the query itself, where `something` is what you are searching for.
+
+The plugin actively looks for URLs requested that match the configured `route` and if so it intercepts the call and renders the results template as specified by the configuration options, (defaults to `simplesearch_results.html.twig` as provided by the plugin).
+
+With this approach, the filters control which pages are searched. You can have multiple taxonomy filters here, and can configure the combinator to require **any** match (via `or`) or require **all** conditions to match (via `and`).
+
+You can also completely customize the look and feel of the results by overriding the template. There are two methods to do this.
+
+1. Copy the file [templates/simplesearch_results.html.twig][results] under your theme templates `user/themes/_your-theme_/templates/` and customize it.
+
+2. Create your very own results output. For this you need to change the `template` reference in the config (let's say **mysearch_results**). In your theme you would then create the new template under `user/themes/_your-theme_/templates/mysearch_results.html.twig` and write your customizations. This is how it looks by default:
+
+ ```
+ {% extends 'partials/simplesearch_base.html.twig' %}
+
+ {% block content %}
+