diff --git a/.eleventy.js b/.eleventy.js
index e4efcb0..bda8544 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -180,6 +180,6 @@ module.exports = function (config) {
},
// Set template formats so that other files won't be included in dist
- templateFormats: ["njk", "md", "html"]
+ templateFormats: ["njk", "md", "liquid", "html"]
};
};
\ No newline at end of file
diff --git a/README.md b/README.md
index ebd4b97..0cf10de 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ This a template providing a sane base config for eleventy, mainly for the purpos
| `npm run watch` | Run dev server in watch mode |
| `npm run css_watch` | Watch for CSS changes & rebuild |
| `npm run build` | First build the CSS, then the site |
-
+| `npm run prod_build` | First build the CSS, then the site in production mode |
## Other Settings
```
.\.eleventy.js
diff --git a/docs/chronik/index.html b/docs/chronik/index.html
index 0fa59db..216117d 100644
--- a/docs/chronik/index.html
+++ b/docs/chronik/index.html
@@ -131,14 +131,17 @@
diff --git a/src/dynamic/lunr.liquid_unused b/src/dynamic/lunr.liquid_unused
new file mode 100644
index 0000000..f653542
--- /dev/null
+++ b/src/dynamic/lunr.liquid_unused
@@ -0,0 +1,14 @@
+---
+permalink: /index.json
+---
+
+[
+{% for character in collections.characters %}
+ {
+ "title":"{{ character.data.title }}",
+ "url":"{{ character.url }}",
+ "content":"{% excerpt character %}"
+ }
+ {% if forloop.last == false %},{% endif %}
+{% endfor %}
+]
\ No newline at end of file
diff --git a/src/includes/search.njk b/src/includes/search.njk
index e0d9eb2..8963cf0 100644
--- a/src/includes/search.njk
+++ b/src/includes/search.njk
@@ -1,8 +1,11 @@
-
\ No newline at end of file
diff --git a/src/static/js/search.js b/src/static/js/search.js
new file mode 100644
index 0000000..00ca91b
--- /dev/null
+++ b/src/static/js/search.js
@@ -0,0 +1,10 @@
+// attach a click handler to the search link
+var btn = document.querySelector('#global-search-form');
+btn.addEventListener('submit', function(event) {
+
+ // don't navigate to that page. Stay put.
+ event.preventDefault();
+
+ // make search magic happen instead...
+
+}, false);
\ No newline at end of file