Migrate to page endpoints

This commit is contained in:
2022-03-24 18:11:01 +01:00
parent 7e48afaf0d
commit fecdeee94d
11 changed files with 950 additions and 968 deletions

5
src/params/blogPage.ts Normal file
View File

@ -0,0 +1,5 @@
/** @type {import('@sveltejs/kit').ParamMatcher} */
export function match(param: string) {
console.log('parma', param)
return !['tags', 'page'].some((keyword) => param.startsWith(keyword))
}