Migrate articles to standalone endpoints

This commit is contained in:
2022-03-24 18:38:53 +01:00
parent fecdeee94d
commit 5f1c7e9804
4 changed files with 15 additions and 5 deletions

View File

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