diff --git a/_config.yml b/_config.yml index 273af21..93f4a5c 100644 --- a/_config.yml +++ b/_config.yml @@ -83,6 +83,8 @@ plugins: - jekyll-feed # Create an Atom feed using the official Jekyll feed gem - jekyll-seo-tag +include: ['_pages'] + # Exclude these files from your production _site exclude: - Gemfile diff --git a/_layouts/default.html b/_layouts/default.html index 948ad4e..dd7234b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -31,6 +31,7 @@ diff --git a/about.md b/_pages/about.md similarity index 100% rename from about.md rename to _pages/about.md diff --git a/categories.md b/_pages/categories.md similarity index 100% rename from categories.md rename to _pages/categories.md diff --git a/_pages/search.md b/_pages/search.md new file mode 100644 index 0000000..8526997 --- /dev/null +++ b/_pages/search.md @@ -0,0 +1,21 @@ +--- +layout: page +title: Search +permalink: /search/ +--- + +
+ + +
+ + + + \ No newline at end of file diff --git a/images/galaxy.jpg b/images/galaxy.jpg new file mode 100644 index 0000000..7816fa0 Binary files /dev/null and b/images/galaxy.jpg differ diff --git a/js/simple-jekyll-search.min.js b/js/simple-jekyll-search.min.js new file mode 100644 index 0000000..465a69f --- /dev/null +++ b/js/simple-jekyll-search.min.js @@ -0,0 +1,6 @@ +/*! + * Simple-Jekyll-Search v1.7.2 (https://github.com/christian-fei/Simple-Jekyll-Search) + * Copyright 2015-2018, Christian Fei + * Licensed under the MIT License. + */ +!function(){"use strict";var f={load:function w(t,e){var n=function r(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")}();n.open("GET",t,!0),n.onreadystatechange=function i(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}(n,e),n.send()}};(function y(t){if(!function e(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(t))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof y))return new y(t);var r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){var n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}});var n=function g(t,e){var n=e.length,r=t.length;if(n{title}',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,exclude:[]},n=["searchInput","resultsContainer","json"],r=function y(e){if(!function n(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(e))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof y))return new y(e);var r=e.required;this.getRequiredOptions=function(){return r},this.validate=function(e){var n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}}({required:n});function i(t){o.success(t),l.put(t),function e(){o.searchInput.addEventListener("keyup",function(t){(function e(t){return-1===[13,16,20,37,38,39,40,91].indexOf(t)})(t.which)&&(u(),c(t.target.value))})}()}function u(){o.resultsContainer.innerHTML=""}function a(t){o.resultsContainer.innerHTML+=t}function c(t){(function e(t){return t&&0