blog/index.html: prettier accepted format with date!

This commit is contained in:
Aminda Suomalainen 2024-05-31 18:26:09 +03:00
parent 12891560e0
commit ced8b14e23
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 22 additions and 26 deletions

View File

@ -2,5 +2,4 @@
_includes
_layouts
blog/*.xml
blog/index.html
*.json

View File

@ -8,31 +8,28 @@ lang: en
robots: noai
---
<ul style="list-style-type: none">
<li>Posts</li>
<li><a lang="en" href="#in-english">In English</a></li>
<li><a lang="fi" href="#suomeksi">suomeksi</a></li>
</ul>
<p>
Posts <a lang="en" href="#in-english">in English here</a> &amp;
<a lang="fi" href="#suomeksi">suomeksi täällä</a>.
</p>
<hr />
<div lang="en">
<h2 id="in-english">In English</h2>
<h2 id="in-english">In English</h2>
<dl>
{% for post in site.categories.english %}
<dt><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></dt>
<dd><em>{{ post.excerpt | strip_html }}</dd>
{% endfor %}
</dl>
</div><div lang="fi">
<h2 id="suomeksi">suomeksi</h2>
<dl>
{% for post in site.categories.finnish %}
<dt><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></dt>
<dd><em>{{ post.excerpt | strip_html }}</dd>
{% endfor %}
</dl>
{% for post in site.categories.english %}
<p>
<em>{{ post.date | date: "%F" }}:</em>
<strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
</p>
{{ post.excerpt | markdownify }} {% endfor %}
</div>
<hr />
<div lang="fi">
<h2 id="suomeksi">suomeksi</h2>
{% for post in site.categories.finnish %}
<p>
<em>{{ post.date | date: "%F" }}:</em>
<strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
</p>
{{ post.excerpt | markdownify }} {% endfor %}
</div>