diff --git a/src/routes/(home)/Scene.svelte b/src/content/blog/Scene.svelte similarity index 100% rename from src/routes/(home)/Scene.svelte rename to src/content/blog/Scene.svelte diff --git a/src/content/blog/third-post.md b/src/content/blog/third-post.md deleted file mode 100644 index 5d0dfba..0000000 --- a/src/content/blog/third-post.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Third post -excerpt: This is the most interesting post that you will ever read. It is the third post, which is extremely interesting and I am too lazy to even input lorem ipsum xd. -date: 2023-01-01 -tags: - - first - - post -published: true -image: Feature.jpg - ---- - -## Svelte - -Media inside the **Svelte** folder is server from the `static` folder. diff --git a/src/lib/components/blog/CategoryFilter.svelte b/src/lib/components/blog/CategoryFilter.svelte index 7246763..690fc37 100644 --- a/src/lib/components/blog/CategoryFilter.svelte +++ b/src/lib/components/blog/CategoryFilter.svelte @@ -28,7 +28,7 @@
  • -
  • - {/each} - - diff --git a/src/lib/components/blog/post-content-layout.svelte b/src/lib/components/blog/post-content-layout.svelte deleted file mode 100644 index 2b09092..0000000 --- a/src/lib/components/blog/post-content-layout.svelte +++ /dev/null @@ -1,58 +0,0 @@ - - -
    -
    -
    - {`${title}`} -
    -

    - {formatDate(date)} -

    - {#if tags && tags.length > 0} -
    - {#each tags as tag} - - {tag} - - {/each} -
    - {/if} - -
    -
    -
    -
    - - diff --git a/src/lib/components/blog/post-preview.svelte b/src/lib/components/blog/post-preview.svelte deleted file mode 100644 index 44bf5cd..0000000 --- a/src/lib/components/blog/post-preview.svelte +++ /dev/null @@ -1,82 +0,0 @@ - - - -
    - - -
    - Post -
    -
    -
    -
    - {#if post.tags} - {#each post.tags as tag} - {tag} - {/each} - {/if} -
    -
    -

    {post.title}

    -
    -

    - - {post.excerpt} - -

    -
    -
    -
    - -
    -
    - diff --git a/src/lib/components/projects/projects-content-layout.svelte b/src/lib/components/projects/projects-content-layout.svelte deleted file mode 100644 index 67ae89f..0000000 --- a/src/lib/components/projects/projects-content-layout.svelte +++ /dev/null @@ -1,4 +0,0 @@ - - diff --git a/src/routes/(home)/+page.svelte b/src/routes/(home)/+page.svelte deleted file mode 100644 index 949f2d1..0000000 --- a/src/routes/(home)/+page.svelte +++ /dev/null @@ -1,68 +0,0 @@ - - - - -
    -
    -

    I make the wheels turn.

    - -
    -
    - Profile picture -
    - - - - Icon -

    My github contributions

    -
    - -
    - - - -
    -
    - - diff --git a/src/routes/blog/[slug]/+layout.svelte b/src/routes/blog/[slug]/+layout.svelte deleted file mode 100644 index 4fa864c..0000000 --- a/src/routes/blog/[slug]/+layout.svelte +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/routes/projects/+layout.svelte b/src/routes/projects/+layout.svelte deleted file mode 100644 index 0385342..0000000 --- a/src/routes/projects/+layout.svelte +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index 5e279ee..ebc9d3a 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,7 +1,6 @@ import adapter from '@sveltejs/adapter-cloudflare'; import { vitePreprocess } from '@sveltejs/kit/vite'; import preprocess from 'svelte-preprocess'; -import path from 'path'; // import { mdsvexGlobalComponents } from './src/lib/utils/mdsvexGlobalComponents.js/index.js'; import { mdsvex } from 'mdsvex'; @@ -42,11 +41,11 @@ const config = { adapter: adapter({}), // sometimes problems with alias: { - $lib: path.resolve('src', 'lib'), - $root: path.resolve('/'), - $src: path.resolve('src'), - $routes: path.resolve('src', 'routes'), - $content: path.resolve('src', 'content') + $lib: './src/lib', + $root: './', + $src: './src', + $routes: './src/routes', + $content: './src/content' }, // TODO: FIX Banning external malware scripts for security and privacy of users, threw errors, // csp: {