mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-27 23:09:28 +01:00
blog/index.html: prettier accepted format with date!
This commit is contained in:
parent
12891560e0
commit
ced8b14e23
@ -2,5 +2,4 @@
|
||||
_includes
|
||||
_layouts
|
||||
blog/*.xml
|
||||
blog/index.html
|
||||
*.json
|
||||
|
@ -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> &
|
||||
<a lang="fi" href="#suomeksi">suomeksi täällä</a>.
|
||||
</p>
|
||||
<hr />
|
||||
<div lang="en">
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user