diff --git a/src/components/MobileHeader.astro b/src/components/MobileHeader.astro index 37138d4..21d391a 100644 --- a/src/components/MobileHeader.astro +++ b/src/components/MobileHeader.astro @@ -14,7 +14,7 @@ const marginBottom = { }[titleSpace] || 'mb-4.6' --- -
+

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END diff --git a/src/content/posts/retypeset_zh.md b/src/content/posts/retypeset_zh.md index daab5c5..98f533d 100644 --- a/src/content/posts/retypeset_zh.md +++ b/src/content/posts/retypeset_zh.md @@ -1,5 +1,5 @@ --- -title: Retypeset 主题介绍 +title: 主题介绍 published: 2024-01-25 tags: ["Astro", "博客主题"] --- diff --git a/src/content/posts/容忍与自由.md b/src/content/posts/容忍与自由.md index 9a2f4ce..90f49c4 100644 --- a/src/content/posts/容忍与自由.md +++ b/src/content/posts/容忍与自由.md @@ -4,7 +4,7 @@ published: 2022-06-17 tags: ["胡适"] --- -![这是图片的说明文字这是图片的说明文字](https://image.radishzz.cc/image/01-oneui/14.webp) +![这是图片的说明文字](https://image.radishzz.cc/image/gallery/02.webp) 十七八年前,我最后一次会见我的母校康耐儿大学的史学大师布尔先生(George Lincoln Burr)。我们谈到英国史学大师阿克顿(Lord Acton)一生准备要著作一部《自由之史》,没有写成他就死了。布尔先生那天谈话很多,有一句话我至今没有忘记。他说,“我年纪越大,越感觉到容忍(tolerance)比自由更重要”。 diff --git a/src/content/posts/故乡.md b/src/content/posts/故乡.md index 8c719f4..92ff157 100644 --- a/src/content/posts/故乡.md +++ b/src/content/posts/故乡.md @@ -4,7 +4,7 @@ published: 2024-01-10 tags: ["鲁迅"] --- -![](https://image.radishzz.cc/image/01-oneui/21.webp) +![](https://image.radishzz.cc/image/gallery/03.webp) 我冒了嚴寒,回到相隔二千餘里,別了二十餘年的故鄉去。 diff --git a/src/content/posts/羅生門.md b/src/content/posts/羅生門.md index 7736de9..fcadaa4 100644 --- a/src/content/posts/羅生門.md +++ b/src/content/posts/羅生門.md @@ -4,7 +4,7 @@ published: 2022-03-05 tags: ["芥川龙之介"] --- -![](https://fuwari.vercel.app/_astro/cover.CgGywNHJ_1wRFtk.webp) +![](https://image.radishzz.cc/image/gallery/06.webp) ある日の暮方の事である。一人の下人げにんが、羅生門らしょうもんの下で雨やみを待っていた。 diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 91aba40..ae0f836 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -23,13 +23,13 @@ interface Props { } const { postTitle, postDescription, postImage } = Astro.props -const fontStyle = `font-${themeConfig.global.fontStyle}` -const { isHome, isPost } = getPagePath(Astro.url.pathname); +const { isHome, isPost } = getPagePath(Astro.url.pathname) +const fontStyle = themeConfig.global.fontStyle === 'serif' ? 'font-serif' : 'font-sans' --- @@ -45,7 +45,7 @@ const { isHome, isPost } = getPagePath(Astro.url.pathname);
- {!isHome && isPost && } + {!isHome && isPost && }
diff --git a/src/pages/posts/[slug].astro b/src/pages/posts/[slug].astro index 8e09c0f..8002f7d 100644 --- a/src/pages/posts/[slug].astro +++ b/src/pages/posts/[slug].astro @@ -32,7 +32,7 @@ const { Content, remarkPluginFrontmatter } = await post.render()