diff --git a/webapp/src/lib/components/MarkdownRenderer.svelte b/webapp/src/lib/components/MarkdownRenderer.svelte
index f169705..66ce942 100644
--- a/webapp/src/lib/components/MarkdownRenderer.svelte
+++ b/webapp/src/lib/components/MarkdownRenderer.svelte
@@ -22,6 +22,9 @@
const options = { ...marked.defaults, breaks: true };
+ /**
+ * Searches for the first major header in the document to use as page title.
+ */
function setTitle() {
const tags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
for (const tag of tags) {
diff --git a/webapp/src/routes/__layout.svelte b/webapp/src/routes/__layout.svelte
index b6f318e..10704a0 100644
--- a/webapp/src/routes/__layout.svelte
+++ b/webapp/src/routes/__layout.svelte
@@ -29,6 +29,10 @@
}
+
diff --git a/webapp/src/routes/index.svelte b/webapp/src/routes/index.svelte index f6a6079..4d963e7 100644 --- a/webapp/src/routes/index.svelte +++ b/webapp/src/routes/index.svelte @@ -1 +1,14 @@ -
Homepage.
++ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut + labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco + laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in + voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat + non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +
+