diff options
author | ronv <ronalds.vilcins@gmail.com> | 2020-01-30 20:19:33 +0200 |
---|---|---|
committer | ronv <ronalds.vilcins@gmail.com> | 2020-01-30 20:19:33 +0200 |
commit | a1a0a4ad553f59906930d44bf56b089421d2c7a5 (patch) | |
tree | ca8b44675434a07394c63a4b0bb22390ed261589 /_pages | |
parent | bc7896a33321ad0c6e22ad60f20e498f55900c12 (diff) | |
download | wiki-a1a0a4ad553f59906930d44bf56b089421d2c7a5.tar.gz |
initial commit
Diffstat (limited to '_pages')
-rwxr-xr-x | _pages/about.md | 28 | ||||
-rw-r--r-- | _pages/search.md | 48 |
2 files changed, 76 insertions, 0 deletions
diff --git a/_pages/about.md b/_pages/about.md new file mode 100755 index 0000000..7c3c795 --- /dev/null +++ b/_pages/about.md @@ -0,0 +1,28 @@ +--- +layout: page +title: About +--- + +Sidey is a simple and minimalistic jekyll blogging theme. + +### Features + +- Responsive design +- Inline CSS +- Anchor headings +- Search +- Tags & tag pages +- Security headers (for Netlify hosting) +- 404 page +- Compressed CSS and HTML +- 100/100 score on Lighthouse, Page Speed Insights & Webpagetest +- Robots.txt +- Atom & Json feeds +- Sass +- Seo optimized (Twitter cards, Facebook Open Graph, Schema.org) +- Ultra fast (Only ~5kb of CSS) +- Sidebar navigation + +### Screenshot + +![Screenshot](screenshot.png) diff --git a/_pages/search.md b/_pages/search.md new file mode 100644 index 0000000..98628fb --- /dev/null +++ b/_pages/search.md @@ -0,0 +1,48 @@ +--- +layout: page +title: Search +--- + +<style> + #search-container { + max-width: 100%; + } + + input[type=text] { + font-size: normal; + outline: none; + padding: 1rem; + background: rgb(236, 237, 238); + width: 100%; + -webkit-appearance: none; + font-family: inherit; + font-size: 100%; + border: none; + } + #results-container { + margin: .5rem 0; + } +</style> + +<!-- Html Elements for Search --> +<div id="search-container"> +<input type="text" id="search-input" placeholder="Search..."> +<ol id="results-container"></ol> +</div> + +<!-- Script pointing to search-script.js --> +<script src="/search.js" type="text/javascript"></script> + +<!-- Configuration --> +<script type="text/javascript"> +SimpleJekyllSearch({ + searchInput: document.getElementById('search-input'), + resultsContainer: document.getElementById('results-container'), + json: '/search.json', + searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}</a></li>', + noResultsText: 'No results found', + limit: 10, + fuzzy: false, + exclude: ['Welcome'] +}) +</script>
\ No newline at end of file |