21 lines
750 B
HTML
21 lines
750 B
HTML
<h2>{{ site.data.translations.latest[page.lang]}}</h2>
|
|
<ul class="post-list">
|
|
{% for post in site.posts %}
|
|
{% if post.lang == page.lang %}
|
|
<li class="post-item">
|
|
<header class="post-header">
|
|
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
|
<h3 class="titlecase">
|
|
{% include utils/translated-date.html date=post.date lang=page.lang %}
|
|
</h3>
|
|
<!-- <h3>{{ post.date | date_to_string }}</h3> -->
|
|
|
|
</header>
|
|
<div class="post-content">
|
|
<span class="post-excerpt">{{ post.excerpt }}</span>
|
|
<a href="{{ post.url }}">{{ site.data.translations.readMore[page.lang]}} -></a>
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul> |