feat: Journal list, category pages, pagination, tokens and pl/en strings

- index and category pages paginate with ?page=N and 404 out of range
- category content renders above the list through the html gate
- related posts fall back to the latest posts
- --journal-* tokens and neutral base styles
- pl/en strings registered only for locales the app enables
This commit is contained in:
2026-10-09 18:02:48 +02:00
parent 6f6792f51c
commit c408eeb2ca
23 changed files with 807 additions and 21 deletions

View File

@@ -0,0 +1,11 @@
<script setup lang="ts">
// A post's featured image. The intrinsic width/height reserve space before
// the image loads; the rendered size and crop come from --journal-image-ratio.
defineProps<{ src: string | null | undefined; alt: string; eager?: boolean }>()
</script>
<template>
<figure v-if="src" class="journal-featured-image">
<img :src="src" :alt="alt" width="1200" height="630" :loading="eager ? 'eager' : 'lazy'" decoding="async" />
</figure>
</template>