Finish first part of creating the full list of routes

This commit is contained in:
itsfinniii
2026-03-15 12:04:28 +01:00
parent ff811327bb
commit 4f3cc40041
8 changed files with 128 additions and 6 deletions

View File

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