From dee0b16c1cdf18d205ffcb738eda0e9049396fd0 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 13 Apr 2024 13:50:54 +0200 Subject: fix more stuff --- _layouts/index.html | 44 ++++++++++++++++++++++++++++++++++++++++++++ _layouts/post.html | 14 +++++++------- 2 files changed, 51 insertions(+), 7 deletions(-) create mode 100644 _layouts/index.html (limited to '_layouts') diff --git a/_layouts/index.html b/_layouts/index.html new file mode 100644 index 0000000..2976df7 --- /dev/null +++ b/_layouts/index.html @@ -0,0 +1,44 @@ + + + + {% include head.html %} + {{ site.title }} + {% include opengraph.html %} + + +
+
+

{{ page.title }}

+ {% if page.subtitle %}

{{ page.subtitle }}

{% endif %} + {% if page.tags %}{% include tags.html tags=page.tags %}{% endif %} +
+ + +
+ {{ content }} +
+

Recent posts

+
+ {% for post in site.posts limit:4 %} +
+ + post cover +

{{ post.title }}

+ {{ post.subtitle }} +
+ {% include tags.html tags=post.tags %} +
+ {% endfor %} +
+
+ Go to all posts +
+
+
+ + diff --git a/_layouts/post.html b/_layouts/post.html index 485f560..0b306b1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,20 +6,20 @@ {% include opengraph.html %} -
-
+
+

{{ page.title }}

- {% if page.subtitle %}

{{ page.subtitle }}

{% endif %} + {% if page.subtitle %}

{{ page.subtitle }}

{% endif %} {% if page.tags %}{% include tags.html tags=page.tags %}{% endif %}
-
-
- + -
+
{{ content }}
-- cgit v1.2.3