From ce4a2c4ef665603ca946c8e2aa5e49936ec28b94 Mon Sep 17 00:00:00 2001 From: agusmakmun Date: Wed, 20 Apr 2016 17:05:19 +0700 Subject: [PATCH] Update feature search posts --- README.md | 2 +- _config.yml | 4 +- _layouts/default.html | 21 +++++-- _layouts/post.html | 2 +- css/super-search.css | 40 +++++++++++++ js/super-search.js | 132 ++++++++++++++++++++++++++++++++++++++++++ sitemap.xml | 30 ++++++++++ 7 files changed, 224 insertions(+), 7 deletions(-) create mode 100644 css/super-search.css create mode 100644 js/super-search.js create mode 100644 sitemap.xml diff --git a/README.md b/README.md index c956e48..5772b21 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ My Stack Problems -> This project forked and has been modified from [A simple grey theme for Jekyll](https://github.com/liamsymonds/simplygrey-jekyll) +> This project forked and has been modified from [A simple grey theme for Jekyll](https://github.com/liamsymonds/simplygrey-jekyll), and the search posts using [Super Search](https://github.com/chinchang/super-search) ![Screenshot Post](https://raw.githubusercontent.com/agusmakmun/agusmakmun.github.io/master/img/screenshot-post.png "Screenshot Post") diff --git a/_config.yml b/_config.yml index 20ef85e..5b34234 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,6 @@ -name: Agus Makmun +title: Stack Problems +description: My Personal Stack Problems +author: Agus Makmun github: https://github.com/agusmakmun about: I am freelance developer. Currently doing more in backend, actually in Python and Django. urls: diff --git a/_layouts/default.html b/_layouts/default.html index 6b3d7e7..9ae6f0a 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,7 +6,11 @@ - {% if page.title %} {{ page.title }} {% else %} {{ site.name }} {% endif %} + {% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.author }}{% endif %} + + + + @@ -17,7 +21,8 @@ - + + @@ -25,13 +30,20 @@
-

{{ site.name }}

+

{{ site.author }}

{% if site.about %}
{{ site.about }}
{% endif %} +
+ +
+ Navigation
» Home
{% for i in site.urls %} @@ -43,7 +55,7 @@ {{ content }}