diff --git a/src/app.css b/src/app.css index 61b1606..f0d14f3 100644 --- a/src/app.css +++ b/src/app.css @@ -81,5 +81,6 @@ } html { scroll-behavior: smooth; + overscroll-behavior: none; } diff --git a/src/content/post/placeholder1.md b/src/content/post/placeholder1.md index 03dc7a9..f97a59e 100644 --- a/src/content/post/placeholder1.md +++ b/src/content/post/placeholder1.md @@ -12,6 +12,8 @@ Here is some placeholder text ### 3rd level heading #### 4th level heading +Markdown `inline code` + > This is a quote ```python diff --git a/src/lib/sitemap.ts b/src/lib/sitemap.ts new file mode 100644 index 0000000..34c2365 --- /dev/null +++ b/src/lib/sitemap.ts @@ -0,0 +1,6 @@ +export const routes: { route: string, name: string, inactive?: boolean }[] = [ + { route: "/", name: "Home" }, + { route: "/post", name: "Blog" }, + { route: "/art", name: "Art", inactive: true }, + { route: "/archives", name: "Archives" }, +]; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c1ece00..3401cab 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,30 +1,33 @@ {#if $page.url.pathname != "/"} -