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> {% for post in site.categories.english %}
<p>
<dl> <em>{{ post.date | date: "%F" }}:</em>
{% for post in site.categories.english %} <strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
<dt><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></dt> </p>
<dd><em>{{ post.excerpt | strip_html }}</dd> {{ post.excerpt | markdownify }} {% endfor %}
{% endfor %} </div>
</dl> <hr />
<div lang="fi">
</div><div lang="fi"> <h2 id="suomeksi">suomeksi</h2>
{% for post in site.categories.finnish %}
<h2 id="suomeksi">suomeksi</h2> <p>
<em>{{ post.date | date: "%F" }}:</em>
<dl> <strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
{% for post in site.categories.finnish %} </p>
<dt><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></dt> {{ post.excerpt | markdownify }} {% endfor %}
<dd><em>{{ post.excerpt | strip_html }}</dd>
{% endfor %}
</dl>
</div> </div>