From 14c30a2a30cb73e379618120b99f584afbea3848 Mon Sep 17 00:00:00 2001 From: passthem Date: Wed, 1 Apr 2026 22:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=85=B3=E4=BA=8E=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/BoringLayout.astro | 4 ++++ src/pages/about.astro | 29 +++-------------------------- 2 files changed, 7 insertions(+), 26 deletions(-) diff --git a/src/layout/BoringLayout.astro b/src/layout/BoringLayout.astro index 1c98fc7..5873544 100644 --- a/src/layout/BoringLayout.astro +++ b/src/layout/BoringLayout.astro @@ -35,6 +35,10 @@ const { title = '小帕的小窝' } = Astro.props margin-block: 1rem; } + & :global(p) { + margin-block: 0.25rem; + } + & :global(a) { color: var(--color-link); text-decoration: none; diff --git a/src/pages/about.astro b/src/pages/about.astro index 17da106..bac114b 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,36 +1,13 @@ --- import BoringLayout from '../layout/BoringLayout.astro' - -const friends = [ - ['https://omega98.top', '核子的博客'], - ['https://tnot.top', 'TNOT 的博客'], - ['https://ruusuge.top', 'ルース毛的博客'], - ['https://akarin.dev/', '宸佬的博客'], - ['https://wzq02.top', 'wzq02 的博客'], - ['https://r1kka.one/', "Rikka's Blog"], -] ---

关于这里

+

这里是 passthem 和他朋友们的博客

+

主要由我也就是 passthem 运维这个网站,但是我会接收朋友们的投稿

+

怎么感觉有点未完成

之前,我心血来潮,写了一个自己的博客系统,但是我把它的源代码搞丢了!

正好想重新设计,所以,我打算重构了。但是,重构它很漫长

这里的占位的东西,会慢慢填充的!

-

友链

-

- { - friends - .map((friend) => { - return {friend[1]} - }) - .map((block, i) => { - if (i == friends.length - 1) { - return block - } else { - return [block, ] - } - }) - .flat() - } -