-
\ No newline at end of file
diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro
index fa49613..59b923a 100644
--- a/src/layouts/BlogPost.astro
+++ b/src/layouts/BlogPost.astro
@@ -5,7 +5,6 @@
import BaseLayout from '../layouts/BaseLayout.astro';
import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro';
-import Newsletter from '../components/Newsletter.astro';
import MiniKnowledgeGraph from '../components/MiniKnowledgeGraph.astro';
import { getCollection } from 'astro:content';
@@ -235,7 +234,6 @@ const fallbackCurrentPost = currentPost || {
-
diff --git a/src/pages/api/confirm.ts b/src/pages/api/confirm.ts
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/api/subscribe.ts b/src/pages/api/subscribe.ts
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/api/unsubscribe.ts b/src/pages/api/unsubscribe.ts
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/categories/index.astro b/src/pages/categories/index.astro
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/configurations.astro b/src/pages/configurations.astro
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/stack.astro b/src/pages/stack.astro
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/subscription-confirmed.astro b/src/pages/subscription-confirmed.astro
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/test-graph.astro b/src/pages/test-graph.astro
deleted file mode 100644
index 4fc366f..0000000
--- a/src/pages/test-graph.astro
+++ /dev/null
@@ -1,179 +0,0 @@
----
-import BaseLayout from '../layouts/BaseLayout.astro';
-import Header from '../components/Header.astro';
-import Footer from '../components/Footer.astro';
-import MiniKnowledgeGraph from '../components/MiniKnowledgeGraph.astro';
-import { getCollection } from 'astro:content';
-
-// Get all posts
-const allPosts = await getCollection('posts').catch(error => {
- console.error('Error fetching posts collection:', error);
- return [];
-});
-
-// Try blog collection if posts doesn't exist
-const blogPosts = allPosts.length === 0 ? await getCollection('blog').catch(() => []) : [];
-const combinedPosts = [...allPosts, ...blogPosts];
-
-// Use the first post as a test post
-const testPost = combinedPosts.length > 0 ? combinedPosts[0] : {
- slug: 'test-post',
- data: {
- title: 'Test Post',
- tags: ['test', 'graph'],
- category: 'Test'
- }
-};
-
-// Create related posts - use the next 3 posts in the collection or create test posts
-const relatedPosts = combinedPosts.length > 1
- ? combinedPosts.slice(1, 4)
- : [
- {
- slug: 'related-1',
- data: {
- title: 'Related Post 1',
- tags: ['test', 'graph'],
- category: 'Test'
- }
- },
- {
- slug: 'related-2',
- data: {
- title: 'Related Post 2',
- tags: ['test'],
- category: 'Test'
- }
- }
- ];
----
-
-
-
-
-
-
MiniKnowledgeGraph Test Page
-
-
-
This is a test page to ensure the MiniKnowledgeGraph component is working properly.
-
-
-
Test Post Details:
-
Title: {testPost.data.title}
-
Slug: {testPost.slug}
-
Tags: {testPost.data.tags?.join(', ') || 'None'}
-
Category: {testPost.data.category || 'None'}
-
Related Posts: {relatedPosts.length}
-
-
-
-
MiniKnowledgeGraph Component:
-
-
-
-
-
-
-
-
Debug Info
-
Loading debug info...
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/unsubscribe.astro b/src/pages/unsubscribe.astro
deleted file mode 100644
index e69de29..0000000