Add a method to get all web pages
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user