diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 0000000..204719e --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,66 @@ +--- +layout: default +--- + + +{% if page.background %} +
+ {% else %} +
+ {% endif %} +
+
+
+
+
+

{{ site.title }}

+ {% if site.description %} + {{ site.description }} + {% endif %} +
+
+
+
+
+ +
+
+
+ + {{ content }} + + + {% for post in site.posts limit : 5 %} + + + +
+ + {% endfor %} + + + + +
+
+
\ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..64ca03e --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,53 @@ +--- +layout: default +--- + + +{% if page.background %} +
+ {% else %} +
+ {% endif %} +
+
+
+
+
+

{{ page.title }}

+ {% if page.subtitle %} +

{{ page.subtitle }}

+ {% endif %} + Geschrieben von + {% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %} + am {{ page.date | date: '%d.%m.%Y' }} + +
+
+
+
+
+ +
+
+
+ + {{ content }} + +
+ +
+ + {% if page.previous.url %} + ← Previous + Post + {% endif %} + {% if page.next.url %} + Next + Post + {% endif %} + +
+ +
+
+
\ No newline at end of file diff --git a/_posts/2022-10-20-willkommen-bei-schonend-veredelt.md b/_posts/2022-10-20-willkommen-bei-schonend-veredelt.md index 46b4eea..081797f 100644 --- a/_posts/2022-10-20-willkommen-bei-schonend-veredelt.md +++ b/_posts/2022-10-20-willkommen-bei-schonend-veredelt.md @@ -3,6 +3,7 @@ layout: post title: "Willkommen bei Schonend Veredelt" subtitle: Hier gehts um Kaffee, um Klimaschutz, um Nachhaltigkeit und um alles andere auch, irgendwie. date: 2022-10-20 20:34:53 +0200 +background: /img/posts/bg-intro.jpg # categories: meta --- ## Was zur? diff --git a/img/bg-about.jpg b/img/bg-about.jpg new file mode 100644 index 0000000..bc93b4b Binary files /dev/null and b/img/bg-about.jpg differ diff --git a/img/bg-contact.jpg b/img/bg-contact.jpg new file mode 100644 index 0000000..6d2a458 Binary files /dev/null and b/img/bg-contact.jpg differ diff --git a/img/posts/bg-intro.jpg b/img/posts/bg-intro.jpg new file mode 100644 index 0000000..ae45409 Binary files /dev/null and b/img/posts/bg-intro.jpg differ diff --git a/kontakt.md b/kontakt.md index 6119c13..f09cb0b 100644 --- a/kontakt.md +++ b/kontakt.md @@ -2,5 +2,9 @@ layout: page title: Kontakt permalink: /kontakt/ -background: /img/bg-default.jpg +background: /img/bg-contact.jpg --- + +Jan freut sich über kurze Emails, über DM's auf Twitter oder Im Fediverse. + +Im Impressum findet ihr auch seine Telefonnummer, unter der er auch bei den üblichen Messengern zu erreichen ist. \ No newline at end of file diff --git a/posts/index.html b/posts/index.html index 1a586bd..133f6c3 100644 --- a/posts/index.html +++ b/posts/index.html @@ -15,13 +15,13 @@ background: '/img/bg-default.jpg'

{{ post.excerpt | strip_html | truncatewords: 15 }}

{% endif %} - @@ -36,11 +36,11 @@ background: '/img/bg-default.jpg' {% if paginator.previous_page %} ← - Newer Posts + Neuere Artikel {% endif %} {% if paginator.next_page %} - Older Posts + Ältere Artikel {% endif %} diff --git a/ueber.markdown b/ueber.markdown index e869eb1..bc15317 100644 --- a/ueber.markdown +++ b/ueber.markdown @@ -2,7 +2,7 @@ layout: page title: Über permalink: /ueber/ -background: /img/bg-default.jpg +background: /img/bg-about.jpg --- Kaffee. Dinge. \ No newline at end of file