1
0
Fork 0
This commit is contained in:
Moritz »mo.« Sauer 2015-02-25 17:11:55 +01:00
parent 326569fca7
commit b1e15f5c26
5 changed files with 27 additions and 11 deletions

View file

@ -1,7 +1,6 @@
{% comment %} {% comment %}
* *
* http://stackoverflow.com/questions/9612235/what-are-some-good-ways-to-implement-breadcrumbs-on-a-jekyll-site * http://stackoverflow.com/questions/9612235/what-are-some-good-ways-to-implement-breadcrumbs-on-a-jekyll-site
* https://github.com/huonw/huonw.github.io/blob/master/_layouts/default.html#L17
* *
{% endcomment %} {% endcomment %}

View file

@ -1,7 +1,7 @@
{% comment %} {% comment %}
* *
* This include creates a next/previous link to a post of the same category * This include creates a next/previous link to a post of the same category
* using a the categories-variable in front matter. * using the categories-variable in front matter.
* *
* Source: https://github.com/jekyll/jekyll/issues/260a#issue-495435 * Source: https://github.com/jekyll/jekyll/issues/260a#issue-495435
* *

View file

@ -9,12 +9,7 @@
@import "04_settings_mixins_media_queries.scss"; @import "04_settings_mixins_media_queries.scss";
@import "04_settings_global.scss"; @import "04_settings_global.scss";
@import "05_settings_top-bar.scss"; @import "05_settings_top-bar.scss";
@import "05_normalize.scss"; // normalize.css v3.0.2 @import "05_normalize.scss"; // normalize.css v3.0.2
@import "06_typography.scss";
@import "07_layout";
@import "foundation-components/grid";
@import "09_elements";
@import "foundation-components/top-bar.scss"; @import "foundation-components/top-bar.scss";
@import "foundation-components/accordion"; @import "foundation-components/accordion";
@ -41,4 +36,9 @@
@import "foundation-components/type"; @import "foundation-components/type";
@import "foundation-components/visibility"; @import "foundation-components/visibility";
@import "06_typography.scss";
@import "07_layout";
@import "foundation-components/grid";
@import "09_elements";
@import "11_syntax-highlighting"; @import "11_syntax-highlighting";

View file

@ -8,7 +8,7 @@ header:
permalink: "/changelog/" permalink: "/changelog/"
--- ---
2015-02-25 // Version 0.99.1 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 `noindex`-variable for search engine optimization ([read more](https://support.google.com/webmasters/answer/93710?hl=en)). : 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)). Changed code for breadcrumb.
2015-02-19 // Version 0.99 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... : 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...

View file

@ -201,8 +201,17 @@ With the Kramdown parser for Markdown you can render a table of contents for you
<small markdown="1">[Up to table of contents](#toc)</small> <small markdown="1">[Up to table of contents](#toc)</small>
{: .text-right } {: .text-right }
## Breadcrumbs
To turn on breadcrumbs, just use...
{% highlight html %}
breadcrumb: true
{% endhighlight %}
## Includes ## Includes
{: .t60}
Includes can be very helpful to spice up your content. You can use includes in your Markdown-files with ease: Just call them with some Liquid code. Includes can be very helpful to spice up your content. You can use includes in your Markdown-files with ease: Just call them with some Liquid code.
@ -219,11 +228,19 @@ Possible parameter for the loop:
The loop looks when you use all parameters. Single parameters are possible of course. The loop looks when you use all parameters. Single parameters are possible of course.
~~~ ~~~
{% raw %} {% raw %}{% include list-posts.html entries='3' offset='1' category='design' %}{% endraw %}
{% include list-posts.html entries='3' offset='1' category='design' %}
{% endraw %}
~~~ ~~~
### next-previous-post-in-category.html
This include creates a next/previous link to a post of the same category using the first categories-variable in front matter.
~~~
{% raw %}{% include next-previous-post-in-category.html %}{% endraw %}
~~~
<small markdown="1">[Up to table of contents](#toc)</small> <small markdown="1">[Up to table of contents](#toc)</small>
{: .text-right } {: .text-right }