web/misc.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

37 lines
No EOL
770 B
Text

---
pagination:
data: i18n
size: 1
alias: langKey
permalink: "/{{ langKey }}/misc/index.html"
layout: base.njk
title: Adrian Victor:Misc
---
<main>
<h1>{{ i18n[langKey].miscellaneous }}</h1>
<ul>
<dl>
{% for page in collections.misc %}
{% set t = page | getTranslation(langKey) %}
<dt>
<a href="{{ ('/' ~ langKey ~ '/misc/' ~ page.fileSlug ~ '/') | url }}">
{{ page.data.pageTitle or t.pageTitle }}
</a>
</dt>
<dd>
{% if page.data["88x31"] %}
<img
src="{{ ('/static/images/88x31/' ~ page.data['88x31']) | url }}"
><br>
{% endif %}
{{ t.pageDescription }}
</dd>
{% endfor %}
</dl>
</ul>
</main>