* perf(content): ⚡️ reduce archive page size by stripping post body * apply biome fix * refactor: Separate function responsibilities (removed unnecessary linkage of preceding and following slugs) --------- Co-authored-by: L4Ph <me@l4ph.moe>
15 lines
473 B
Plaintext
15 lines
473 B
Plaintext
---
|
|
import ArchivePanel from "@components/ArchivePanel.svelte";
|
|
import I18nKey from "@i18n/i18nKey";
|
|
import { i18n } from "@i18n/translation";
|
|
import MainGridLayout from "@layouts/MainGridLayout.astro";
|
|
import { getSortedPostsList } from "../utils/content-utils";
|
|
|
|
const sortedPostsList = await getSortedPostsList();
|
|
---
|
|
|
|
<MainGridLayout title={i18n(I18nKey.archive)}>
|
|
<ArchivePanel sortedPosts={sortedPostsList} client:only="svelte"></ArchivePanel>
|
|
</MainGridLayout>
|
|
|