diff --git a/src/pages/index.astro b/src/pages/index.astro index 8c43205..42697ad 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,7 +5,10 @@ import MoreTile from "../layouts/MoreTile.astro" const allPosts = await Astro.glob("../pages/posts/*.md") const Blogs = await Astro.glob("../pages/posts/blogs/**/*.md") allPosts.sort((a, b) => { - if ((a.frontmatter.title as string).startsWith("计算机协会入社指南")) { + if ( + a.frontmatter.title + && (a.frontmatter.title as string).startsWith("计算机协会入社指南") + ) { return -99999999999 } return Date.parse(b.frontmatter.pubDate) - Date.parse(a.frontmatter.pubDate) diff --git a/src/pages/posts/_assets/post20241016/DSCF7794.jpg b/src/pages/posts/_assets/post20241016/DSCF7794.jpg new file mode 100644 index 0000000..1b62b93 Binary files /dev/null and b/src/pages/posts/_assets/post20241016/DSCF7794.jpg differ diff --git a/src/pages/posts/_assets/post20241016/DSCF7849.jpg b/src/pages/posts/_assets/post20241016/DSCF7849.jpg new file mode 100644 index 0000000..562675a Binary files /dev/null and b/src/pages/posts/_assets/post20241016/DSCF7849.jpg differ diff --git a/src/pages/posts/_assets/post20241016/ca101.jpg b/src/pages/posts/_assets/post20241016/ca101.jpg new file mode 100644 index 0000000..84696fb Binary files /dev/null and b/src/pages/posts/_assets/post20241016/ca101.jpg differ diff --git a/src/pages/posts/_assets/post20241016/cake.jpg b/src/pages/posts/_assets/post20241016/cake.jpg new file mode 100644 index 0000000..df40524 Binary files /dev/null and b/src/pages/posts/_assets/post20241016/cake.jpg differ diff --git a/src/pages/posts/_assets/post20241016/free_huaji.jpg b/src/pages/posts/_assets/post20241016/free_huaji.jpg new file mode 100644 index 0000000..d89ea68 Binary files /dev/null and b/src/pages/posts/_assets/post20241016/free_huaji.jpg differ diff --git a/src/pages/posts/_assets/post20241016/lyy.jpg b/src/pages/posts/_assets/post20241016/lyy.jpg new file mode 100644 index 0000000..3337471 Binary files /dev/null and b/src/pages/posts/_assets/post20241016/lyy.jpg differ diff --git a/src/pages/posts/_assets/post20241016/会标.jpg b/src/pages/posts/_assets/post20241016/会标.jpg new file mode 100644 index 0000000..1bb2f79 Binary files /dev/null and b/src/pages/posts/_assets/post20241016/会标.jpg differ diff --git a/src/pages/posts/_assets/post20241016/百团.jpg b/src/pages/posts/_assets/post20241016/百团.jpg new file mode 100644 index 0000000..e8f2c06 Binary files /dev/null and b/src/pages/posts/_assets/post20241016/百团.jpg differ diff --git a/src/pages/posts/天气转凉,小心滑稽出没.md b/src/pages/posts/天气转凉,小心滑稽出没.md new file mode 100644 index 0000000..8c50ec0 --- /dev/null +++ b/src/pages/posts/天气转凉,小心滑稽出没.md @@ -0,0 +1,76 @@ +--- +layout: "../../layouts/MarkdownPost.astro" +title: "天气转凉,小心滑稽出没" +pubDate: 2024-10-15 +description: "活动的一些片段" +author: "kongbai" +cover: + url: ./_assets/post20241016/free_huaji.jpg + alt: "cover" +tags: ["活动"] +--- + + + +# 天气转凉,小心滑稽出没 + +