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 _includes
_layouts _layouts
blog/*.xml blog/*.xml
blog/index.html
*.json *.json

View File

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