Add a method to get all web pages

This commit is contained in:
itsfinniii
2026-03-15 11:23:47 +01:00
parent c1b89c5823
commit 6dcac27de8
13 changed files with 687 additions and 1 deletions

View File

@@ -1,10 +1,11 @@
---
import { getAllWebpages } from "@/content/pages/pages";
import { getAllAlbums } from "@/content/photos/albums";
import { getSettings } from "@/content/settings/settings"
import WebpageLayout from "@/layouts/WebpageLayout.astro";
const settings = await getSettings();
const albums = await getAllAlbums(settings);
const webpages = await getAllWebpages();
---
<WebpageLayout>