Chrysoblog/src/lib/sitemap.ts

9 lines
325 B
TypeScript

import siteMetadata from '$content/metadata.json';
export const routes: { route: string, name: string, disabled?: boolean }[] = [
{ route: "/", name: "Home" },
{ route: "/post", name: "Blog" },
{ route: "/tag", name: "Tags" },
{ route: "/gallery", name: "Gallery", disabled: true },
].concat(siteMetadata?.extra || []);