diff --git a/src/routes/(DefaultStyle)/post/+page.server.js b/src/routes/(DefaultStyle)/post/+page.server.js new file mode 100644 index 0000000..990ac9b --- /dev/null +++ b/src/routes/(DefaultStyle)/post/+page.server.js @@ -0,0 +1,9 @@ +import Metas from '$lib/server/Metadatas'; + +export async function load(){ + const postList = await Metas() + + let id = postList[0].postId + + return {id} +} \ No newline at end of file diff --git a/src/routes/(DefaultStyle)/post/+page.svelte b/src/routes/(DefaultStyle)/post/+page.svelte new file mode 100644 index 0000000..7490bd1 --- /dev/null +++ b/src/routes/(DefaultStyle)/post/+page.svelte @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file