aboutsummaryrefslogtreecommitdiff
path: root/_layouts/index.html
blob: 1337252b2344a31ab305f5399a9f625e7b3b940b (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
layout: default
---
<h2>
  {{ site.t.recent_posts[page.lang] }}
  <a href="{{ site.t.feed.url.blog[page.lang] }}">
    <img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
  </a>
</h2>
{% assign lposts=site.posts | where:"lang", page.lang | sort: 'date' | reverse %}
{% if lposts.size > 0 %}
  <ul>
    {%- for post in lposts -%}
      <li>
        <a href="{{ post.url }}">{{ post.title | escape }}</a> - {% include i18n-date.html date=post.date %}
      </li>
    {%- endfor -%}
  </ul>
{% endif %}