分类检索
diff --git a/src/pages/events/index.astro b/src/pages/events/index.astro
index 3fc3cf7..fef59da 100644
--- a/src/pages/events/index.astro
+++ b/src/pages/events/index.astro
@@ -30,7 +30,7 @@ const { events } = (
 ).data;
 ---
 
-
+
   
     
       
@@ -82,4 +82,4 @@ const { events } = (
       
      
    
-
\ No newline at end of file
+
diff --git a/src/pages/posts/[slug].astro b/src/pages/posts/[slug].astro
index ec35470..b4d6ffd 100644
--- a/src/pages/posts/[slug].astro
+++ b/src/pages/posts/[slug].astro
@@ -13,8 +13,8 @@ const { slug } = Astro.params;
 
 const { post } = (
   await graphQuery(
-    `query Query($where: PostWhereInput!, $orderBy: [PostOrderByInput!]!) {
-  posts(where: $where, orderBy: $orderBy) {
+    `query Query($where: PostWhereUniqueInput!) {
+  post(where: $where) {
     slug
     type
     title
@@ -44,22 +44,17 @@ const { post } = (
   }
 }`,
     {
-      orderBy: [
-        {
-          createdAt: "desc",
-        },
-      ],
       where: { slug },
     }
   )
 ).data;
 ---
 
-
+
   
     
       {
-        post.cover != null && (
+        post.cover && (
           
              
           
diff --git a/src/pages/posts/index.astro b/src/pages/posts/index.astro
index 65d4d87..6eb734e 100644
--- a/src/pages/posts/index.astro
+++ b/src/pages/posts/index.astro
@@ -36,7 +36,7 @@ const { posts } = (
 ).data;
 ---
 
-
+
   
     
       记录
diff --git a/src/pages/projects/index.astro b/src/pages/projects/index.astro
index f607519..5e0fe0b 100644
--- a/src/pages/projects/index.astro
+++ b/src/pages/projects/index.astro
@@ -2,7 +2,7 @@
 import PageLayout from "../../layouts/PageLayout.astro";
 ---
 
-
+