aboutsummaryrefslogtreecommitdiff
path: root/_includes/link-listing.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/link-listing.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/_includes/link-listing.html b/_includes/link-listing.html
new file mode 100644
index 0000000..2828efb
--- /dev/null
+++ b/_includes/link-listing.html
@@ -0,0 +1,15 @@
+<h2>
+ {{ site.t[include.kind].listing[page.lang] }}
+ <a href="{% link {{ site.t[include.kind].feed.url[page.lang] }} %}">
+ <img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
+ </a>
+</h2>
+
+<ul>
+ {% assign entries = include.entries | where:"lang", page.lang | sort: "date" | reverse %}
+ {% for entry in entries %}
+ <li>
+ <a href="{{ entry.url | relative_url }}">{{ entry.title | escape }}</a> - {% include i18n-date.html date=entry.date %}
+ </li>
+ {% endfor %}
+</ul>