diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..18a8d0b --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,11 @@ + + + {% include head.html %} + +
+ +

{{page.title}}

+ {{content}} +
+ + diff --git a/_layouts/overview.html b/_layouts/overview.html deleted file mode 100644 index 784718c..0000000 --- a/_layouts/overview.html +++ /dev/null @@ -1,17 +0,0 @@ - - - {% include head.html %} - -
- -

{{page.title}}

-
- -
-
- - diff --git a/_posts/2017-08-20-html-ragout.md b/_posts/2017-08-20-html-ragout.md index ea0df53..617f913 100644 --- a/_posts/2017-08-20-html-ragout.md +++ b/_posts/2017-08-20-html-ragout.md @@ -3,6 +3,7 @@ layout: recipe title: Blindtext an HTML-Ragout persons: 4 image: +categories: vegetarian --- diff --git a/_posts/2017-08-21-css-ragout.md b/_posts/2017-08-21-css-ragout.md index 9563bcb..efa6469 100644 --- a/_posts/2017-08-21-css-ragout.md +++ b/_posts/2017-08-21-css-ragout.md @@ -3,6 +3,7 @@ layout: recipe title: Blindtext an CSS-Ragout persons: 4 image: kaiserschmarrn.jpg +tags: easy fast --- diff --git a/categories.md b/categories.md new file mode 100644 index 0000000..2c5bd5e --- /dev/null +++ b/categories.md @@ -0,0 +1,37 @@ +--- +layout: default +title: Categories +permalink: /categories/ +--- + +{% capture site_categories %}{% for category in site.categories %}{{ category | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} + + +{% assign category_words = site_categories | split:',' | sort %} + + + + + +
+ {% for item in (0..site.categories.size) %}{% unless forloop.last %} + {% capture this_word %}{{ category_words[item] }}{% endcapture %} +

{{ this_word }}

+ {% for post in site.categories[this_word] %}{% if post.title != null %} +
+ {{ post.title }} +
+
+ {% endif %}{% endfor %} + {% endunless %}{% endfor %} +
diff --git a/index.md b/index.md index 135e089..a6b4983 100644 --- a/index.md +++ b/index.md @@ -1,4 +1,11 @@ --- -layout: overview +layout: default title: Übersicht #Overview --- +
+ +
diff --git a/tags.md b/tags.md new file mode 100644 index 0000000..888db92 --- /dev/null +++ b/tags.md @@ -0,0 +1,38 @@ +--- +layout: default +title: Tags +permalink: /tags/ +--- + + +{% capture site_tags %}{% for tag in site.tags %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} + + +{% assign tag_words = site_tags | split:',' | sort %} + + + + + +
+ {% for item in (0..site.tags.size) %}{% unless forloop.last %} + {% capture this_word %}{{ tag_words[item] }}{% endcapture %} +

{{ this_word }}

+ {% for post in site.tags[this_word] %}{% if post.title != null %} +
+ {{ post.title }} +
+
+ {% endif %}{% endfor %} + {% endunless %}{% endfor %} +