Add social page with archived mastodon posts, move source to /site

This commit is contained in:
天クマ 2026-07-04 16:57:55 -03:00
commit 648869bf76
40 changed files with 58 additions and 2 deletions

37
site/misc.njk Normal file
View file

@ -0,0 +1,37 @@
---
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 id="miscList">
{% 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>