From c6a1ba7c1d0ca9fc83bcdd248afc34ef932a2449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=C2=BBmo=2E=C2=AB=20Sauer?= Date: Wed, 25 Feb 2015 16:49:45 +0100 Subject: [PATCH] update breadcrumb --- _data/language.yml | 3 ++- _includes/breadcrumb.html | 32 ++++++++++---------------------- _layouts/blog.html | 1 + pages/changelog.md | 2 +- 4 files changed, 14 insertions(+), 24 deletions(-) diff --git a/_data/language.yml b/_data/language.yml index 9cded77..c553d13 100644 --- a/_data/language.yml +++ b/_data/language.yml @@ -16,4 +16,5 @@ read_more: "Read More ›" if_you_are_not_redirected_automatically: "If you are not redirected automatically," click_here: "click here" next_post_in: "Next Post in" -previous_post_in: "Previous Post in" \ No newline at end of file +previous_post_in: "Previous Post in" +breadcrumb_start: "Start" \ No newline at end of file diff --git a/_includes/breadcrumb.html b/_includes/breadcrumb.html index 10cca14..39527f5 100644 --- a/_includes/breadcrumb.html +++ b/_includes/breadcrumb.html @@ -5,27 +5,15 @@ * {% endcomment %} - -{% capture url_parts %} {{ page.url | remove: "/index.html" | replace:'/'," " }}{% endcapture %} -{% capture num_parts %}{{ url_parts | number_of_words | minus: 1 }}{% endcapture %} -{% assign previous="" %} - - - + \ No newline at end of file diff --git a/_layouts/blog.html b/_layouts/blog.html index 482af7c..5ee5bef 100644 --- a/_layouts/blog.html +++ b/_layouts/blog.html @@ -1,6 +1,7 @@ --- layout: default format: blog-index +# Don't index these pages dear Google. noindex: true ---
diff --git a/pages/changelog.md b/pages/changelog.md index 7194f9c..4247138 100644 --- a/pages/changelog.md +++ b/pages/changelog.md @@ -8,7 +8,7 @@ header: permalink: "/changelog/" --- 2015-02-25 // Version 0.99.1 -: Added support for Google Analtics. Added `_include/next-previous-post-in-category.html` to generate links from one post in a category to another post in that same category. Example at the bottom of [Grid & Colors]({{ site.url }}/design/grid/#bottom). +: Added support for Google Analtics. Added `_include/next-previous-post-in-category.html` to generate links from one post in a category to another post in that same category. Example at the bottom of [Grid & Colors]({{ site.url }}/design/grid/#bottom). Added `noindex`-variable for search engine optimization ([read more](https://support.google.com/webmasters/answer/93710?hl=en)). 2015-02-19 // Version 0.99 : Yes! Now *Feeling Responsive* uses the built-in sass-support by Jekyll. Open `_sass` and dig deeper into customizing this theme using your colors, typography and so on...