diff --git a/apps/landing/src/pages/blog/post.page.tsx b/apps/landing/src/pages/blog/post.page.tsx
index 516495c4a..9532e12c2 100644
--- a/apps/landing/src/pages/blog/post.page.tsx
+++ b/apps/landing/src/pages/blog/post.page.tsx
@@ -15,46 +15,49 @@ function MarkdownPage({ post }: { post: PostOrPage }) {
console.log(post);
return (
-
+ <>
{post?.title} - Spacedrive Blog
+
- {post && (
- <>
-
-
-
-
-
-
-
- {post?.title}
-
-
- by {post?.primary_author?.name} ·{' '}
- {new Date(post?.published_at ?? '').toLocaleDateString()}
-
-
-
- {post?.tags?.map((tag: Tag) => {
- return ;
- })}
-
-
-
- >
- )}
-
+
+ {post && (
+ <>
+
+
+
+
+
+
+
+ {post?.title}
+
+
+ by {post?.primary_author?.name} ·{' '}
+ {new Date(post?.published_at ?? '').toLocaleDateString()}
+
+
+
+ {post?.tags?.map((tag: Tag) => {
+ return ;
+ })}
+
+
+
+ >
+ )}
+
+ >
);
}
diff --git a/apps/landing/src/pages/index.page.tsx b/apps/landing/src/pages/index.page.tsx
index b95a67f23..433fce17f 100644
--- a/apps/landing/src/pages/index.page.tsx
+++ b/apps/landing/src/pages/index.page.tsx
@@ -1,5 +1,6 @@
import clsx from 'clsx';
import React, { Suspense, useEffect, useState } from 'react';
+import { Helmet } from 'react-helmet';
import { ReactComponent as Info } from '@sd/interface/assets/svg/info.svg';
@@ -79,6 +80,22 @@ function Page() {
return (
<>
+
+ Spacedrive — A file manager from the future.
+
+
+
+
+
);
+ const helmet = Helmet.renderStatic();
+
// See https://vite-plugin-ssr.com/head
const { documentProps } = pageContext;
- const title = (documentProps && documentProps.title) || 'Vite SSR app';
- const desc = (documentProps && documentProps.description) || 'App using Vite + vite-plugin-ssr';
- const documentHtml = escapeInject`
-
-
-
-
-
- Spacedrive — A file manager from the future.
-
-
-
-
-
-
-
-
+ const documentHtml = escapeInject`
+
+
+
+
+
+
+
+
+ ${dangerouslySkipEscape(helmet.title.toString())}
+ ${dangerouslySkipEscape(helmet.meta.toString())}
+ ${dangerouslySkipEscape(helmet.link.toString())}
+
+
${dangerouslySkipEscape(pageHtml)}
- `;
+
+ `;
return {
documentHtml,