blog: another blog redesign

This commit is contained in:
Aminda Suomalainen 2024-05-31 13:13:12 +03:00
parent f54709db89
commit 0ffa4c1715
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 11 additions and 9 deletions

View File

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

View File

@ -8,7 +8,7 @@ lang: en
robots: noai
---
<ul style="text-align: center; list-style-type: none">
<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>
@ -16,21 +16,22 @@ robots: noai
<div lang="en">
<h2 id="in-english" style="text-align: right;">In English</h2>
<h2 id="in-english">In English</h2>
<ul style="list-style-type: none">
{% for post in site.categories.english %}
<p style="text-align: right;"><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></p>
<p><em>{{ post.excerpt | strip_html }}</em></p>
<li><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></li>
<ul style="list-style-type: none"><li><em>{{ post.excerpt | strip_html }}</li></ul>
{% endfor %}
</ul>
</div><div lang="fi">
<h2 id="suomeksi" style="text-align: right;">suomeksi</h2>
<h2 id="suomeksi">suomeksi</h2>
<ul style="list-style-type: none">
{% for post in site.categories.finnish %}
<p style="text-align: right;"><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></p>
<p><em>{{ post.excerpt | strip_html }}</em></p>
<li><strong><a href="{{ post.url }}">{{ post.title }}</a></strong></li>
<ul style="list-style-type: none"><li><em>{{ post.excerpt | strip_html }}</li></ul>
{% endfor %}
</div>