From ced8b14e23db568ae5286716d0c4f2189f5c749e Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 31 May 2024 18:26:09 +0300 Subject: [PATCH] blog/index.html: prettier accepted format with date! --- .prettierignore | 1 - blog/index.html | 47 ++++++++++++++++++++++------------------------- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git a/.prettierignore b/.prettierignore index 11238a9..72e79d6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,5 +2,4 @@ _includes _layouts blog/*.xml -blog/index.html *.json diff --git a/blog/index.html b/blog/index.html index ebb5e1c..f588c87 100644 --- a/blog/index.html +++ b/blog/index.html @@ -8,31 +8,28 @@ lang: en robots: noai --- - - +

+ Posts in English here & + suomeksi täällä. +

+
+

In English

-

In English

- -
-{% for post in site.categories.english %} -
{{ post.title }}
-
{{ post.excerpt | strip_html }}
-{% endfor %} -
- -
- -

suomeksi

- -
-{% for post in site.categories.finnish %} -
{{ post.title }}
-
{{ post.excerpt | strip_html }}
-{% endfor %} -
+ {% for post in site.categories.english %} +

+ {{ post.date | date: "%F" }}: + {{ post.title }} +

+ {{ post.excerpt | markdownify }} {% endfor %} +
+
+
+

suomeksi

+ {% for post in site.categories.finnish %} +

+ {{ post.date | date: "%F" }}: + {{ post.title }} +

+ {{ post.excerpt | markdownify }} {% endfor %}