From 07d79dcd6b11815a37f61b0b6f24d99a7deb6b1a Mon Sep 17 00:00:00 2001 From: ClasWen Date: Tue, 18 Jun 2024 19:32:44 +0800 Subject: [PATCH] update post --- src/pages/archive.astro | 2 +- src/pages/index.astro | 5 ++--- src/pages/posts/影留宁理2024.md | 30 ++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 src/pages/posts/影留宁理2024.md diff --git a/src/pages/archive.astro b/src/pages/archive.astro index c2ecb25..61d9d24 100644 --- a/src/pages/archive.astro +++ b/src/pages/archive.astro @@ -3,7 +3,7 @@ import BaseLayout from "../layouts/BaseLayout.astro" import ArchivePostList from "../layouts/ArchivePostList.astro" const allPosts = await Astro.glob("./posts/*.md") const Blogs = await Astro.glob("../pages/posts/blogs/**/*.md") -const tags = ["寝室", "技术", "学习", "其他"] +const tags = ["寝室", "技术", "学习", "活动", "其他"] const posts = [] tags.forEach((tag) => { diff --git a/src/pages/index.astro b/src/pages/index.astro index e255078..ebdb5d1 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,8 +12,7 @@ allPosts.sort(
-
-

最新文章

+
    { // tile-hero @@ -113,7 +112,7 @@ allPosts.sort(