diff --git a/src/components/TheBlogIndex.server.vue b/src/components/TheBlogIndex.server.vue
index 148448a7..22362362 100644
--- a/src/components/TheBlogIndex.server.vue
+++ b/src/components/TheBlogIndex.server.vue
@@ -6,7 +6,7 @@ const entries = await queryContent('/blog')
return (result as Array<{ title?: string; date: string; _path: string }>)
.map(e => ({
...formatDateField(e),
- slug: e._path.match(/^.*\/([^/]*)\/?$/)?.[1] ?? '',
+ // slug: e._path.match(/^.*\/([^/]*)\/?$/)?.[1] ?? '',
path: e._path,
}))
.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime())
@@ -16,30 +16,22 @@ const entries = await queryContent('/blog')
-
+
{{ title }}
- -
- Published
-
- -
+
- Published
+ -
@@ -48,3 +40,21 @@ const entries = await queryContent('/blog')
+
+
diff --git a/src/pages/blog/[article].vue b/src/pages/blog/[article].vue
index 1ea5eae9..930a5d46 100644
--- a/src/pages/blog/[article].vue
+++ b/src/pages/blog/[article].vue
@@ -1,23 +1,15 @@
-
+
{{ page.title }}
- -
- Published
-
- -
+
- Published
+ -
@@ -101,6 +93,20 @@ if (process.server) {
}
+
+