Finish first part of creating the full list of routes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user