web/blog.njk
Adrian Victor 6b8635defe
All checks were successful
Build Eleventy Forgero / build (24.x) (push) Successful in 37s
Use eleventy's url function to apply pathPrefix.
2026-05-14 14:59:13 -03:00

25 lines
No EOL
696 B
Text

---
pagination:
data: i18n
size: 1
alias: langKey
permalink: "/{{ langKey }}/blog/index.html"
layout: base.njk
title: Adrian Victor:Blog
---
<main>
<p><b>{{ i18n[langKey].blogTitle | smartTitle }}</b></p>
<ul>
{% for post in collections.post %}
{% if post.data.langKey == langKey %}
<li>
<p>
<a href="{{ post.url | url }}">{{ post.data.postTitle }}</a><br>
<b>{{ post.data.date | postDate }}</b>{% if post.data.lastModified | postDate !== post.data.date | postDate %} ({{ i18n[langKey].lastEditedIn }} {{ post.data.lastModified | postDate}}){% endif %}
</p>
</li>
{% endif %}
{% endfor %}
</ul>
</main>