fix md href & add static adapter

This commit is contained in:
2024-07-10 23:27:40 +02:00
parent 58c3a00e84
commit 750583a217
12 changed files with 37 additions and 7 deletions
+4
View File
@@ -0,0 +1,4 @@
// This can be false if you're using a fallback (i.e. SPA mode)
export const prerender = true;
export const trailingSlash = 'always';
+2 -2
View File
@@ -1,7 +1,7 @@
<script>
import ImageTile from "$lib/components/ImageTile.svelte";
import Markdown from "$lib/components/Markdown.svelte";
import HeadImage from "$lib/images/niklas_bw.webp";
import HeadImage from "$lib/images/brief/niklas_bw.webp";
</script>
<ImageTile src={HeadImage}>
@@ -13,6 +13,6 @@
</ImageTile>
<main class="flex items-center justify-center pt-8 bg-black min-h-screen px-12">
<section class="max-w-screen-md">
<Markdown src="Brief.md" />
<Markdown src="/Brief.md" />
</section>
</main>
+1 -1
View File
@@ -13,6 +13,6 @@
</ImageTile>
<main class="flex items-center justify-center pt-8 bg-black min-h-screen px-12">
<section class="max-w-screen-md">
<Markdown src="Fotos.md" />
<Markdown src="/Fotos.md" />
</section>
</main>
+1 -1
View File
@@ -13,6 +13,6 @@
</ImageTile>
<main class="flex items-center justify-center pt-8 bg-black min-h-screen px-12">
<section class="max-w-screen-md">
<Markdown src="Informatik.md" />
<Markdown src="/Informatik.md" />
</section>
</main>
+1 -1
View File
@@ -13,6 +13,6 @@
</ImageTile>
<main class="flex items-center justify-center pt-8 bg-black min-h-screen px-12">
<section class="max-w-screen-md">
<Markdown src="Musig.md" />
<Markdown src="/Musig.md" />
</section>
</main>