diff --git a/src/utils.ts b/src/utils.ts new file mode 100644 index 0000000..a6f8502 --- /dev/null +++ b/src/utils.ts @@ -0,0 +1,3 @@ +export function createPageUrl(pageName: string) { + return '/' + pageName.replace(/ /g, '-'); +} \ No newline at end of file