aboutsummaryrefslogtreecommitdiff
path: root/_includes/link-listing.html
blob: 2d89070cdbf100f459d7852b22e92e5f9c88e9a2 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<h2>
  {{ site.t[include.kind].listing[page.lang] }}
  <a href="{{ site.t[include.kind].feed.url[page.lang] }}">
    <img class="simple-icon" src="/static/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
  </a>
</h2>

<ul class="no-style">
  {% assign entries = site[include.kind] | where:"lang", page.lang | sort: "date" | reverse %}
  {% for entry in entries %}
    <li>
      {% include i18n-date.html date=entry.date %}
      <br />
      <a href="{{ entry.url | relative_url }}">{{ entry.title | escape }}</a>
    </li>
  {% endfor %}
</ul>

<h2>
  <a href="{% link {{ site.t[include.kind].category.url[page.lang] }} %}">
    {{ site.t[include.kind].category.name[page.lang] }}
  </a>
</h2>