From 07ca3c12ab16e4333c5f3dedab428f4f1856506e Mon Sep 17 00:00:00 2001 From: radishzzz Date: Fri, 21 Feb 2025 02:02:51 +0000 Subject: [PATCH] test: optimize CLS caused by image loading --- src/content/posts/retypeset_es.md | 8 -------- src/content/posts/retypeset_ja.md | 8 -------- src/content/posts/retypeset_ru.md | 8 -------- src/content/posts/retypeset_zh-tw.md | 8 -------- src/content/posts/{容忍与自由.md => 容忍与自由.mdx} | 3 ++- src/content/posts/故乡.mdx | 2 -- src/content/posts/{羅生門.md => 羅生門.mdx} | 3 ++- 7 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 src/content/posts/retypeset_es.md delete mode 100644 src/content/posts/retypeset_ja.md delete mode 100644 src/content/posts/retypeset_ru.md delete mode 100644 src/content/posts/retypeset_zh-tw.md rename src/content/posts/{容忍与自由.md => 容忍与自由.mdx} (98%) rename src/content/posts/{羅生門.md => 羅生門.mdx} (99%) diff --git a/src/content/posts/retypeset_es.md b/src/content/posts/retypeset_es.md deleted file mode 100644 index bff8d8d..0000000 --- a/src/content/posts/retypeset_es.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Retypeset Presentación del Tema -published: 2024-01-25 -tags: ["Astro", "Tema para blogs"] -lang: es ---- - -Retypeset, un tema para blogs basado en Astro cuyo nombre chino es "Recomposición", se inspiró originalmente en el arte tipográfico. Conservando la esencia del estilo de impresión tipográfica tradicional, este tema reinventa todas las páginas mediante un diseño editorial meticuloso, creando una estética moderna y minimalista que fluye con el encanto humanístico de la impresión clásica. diff --git a/src/content/posts/retypeset_ja.md b/src/content/posts/retypeset_ja.md deleted file mode 100644 index 4b70c8a..0000000 --- a/src/content/posts/retypeset_ja.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Retypeset テーマ紹介 -published: 2024-01-25 -tags: ["Astro", "ブログテーマ"] -lang: ja ---- - -RetypesetはAstroベースのブログテーマで、中国語名「再編成」はタイポグラフィから着想を得ています。活版印刷のスタイルを継承しつつ、レイアウトデザインを中核に全ページを再構成。モダンでミニマルな視覚効果を創出するとともに、伝統的な印刷文化の人文的趣きを脈々と流れさせています。 diff --git a/src/content/posts/retypeset_ru.md b/src/content/posts/retypeset_ru.md deleted file mode 100644 index 1c620b4..0000000 --- a/src/content/posts/retypeset_ru.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Retypeset Описание темы -published: 2024-01-25 -tags: ["Astro", "Тема блога"] -lang: ru ---- - -Retypeset — блог-тема на базе Astro с китайским названием «Переосмысленная композиция». Вдохновлённая искусством типографики, тема сохраняет очарование традиционной наборной печати, полностью перерабатывая вёрстку всех страниц. Современный минималистичный дизайн гармонично сочетается с гуманистическим духом, присущим классическому книгопечатанию. diff --git a/src/content/posts/retypeset_zh-tw.md b/src/content/posts/retypeset_zh-tw.md deleted file mode 100644 index 9497705..0000000 --- a/src/content/posts/retypeset_zh-tw.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Retypeset 主題介紹 -published: 2024-01-25 -tags: ["Astro", "部落格主題"] -lang: zh-tw ---- - -Retypeset 是一款基於 Astro 的部落格主題,中文名為「重新編排」,其設計靈感源自活字印刷術。本主題在保留原有「活字印刷」風格精髓的基礎上,以版面編排設計為核心,對所有頁面進行全新演繹,既營造出簡約現代的視覺風格,又流淌著傳統印刷工藝的人文氣韻。 diff --git a/src/content/posts/容忍与自由.md b/src/content/posts/容忍与自由.mdx similarity index 98% rename from src/content/posts/容忍与自由.md rename to src/content/posts/容忍与自由.mdx index 90f49c4..5798fc6 100644 --- a/src/content/posts/容忍与自由.md +++ b/src/content/posts/容忍与自由.mdx @@ -3,8 +3,9 @@ title: 容忍与自由 published: 2022-06-17 tags: ["胡适"] --- +import { Image } from 'astro:assets'; -![这是图片的说明文字](https://image.radishzz.cc/image/gallery/02.webp) +一只猫在阳光下睡觉。 十七八年前,我最后一次会见我的母校康耐儿大学的史学大师布尔先生(George Lincoln Burr)。我们谈到英国史学大师阿克顿(Lord Acton)一生准备要著作一部《自由之史》,没有写成他就死了。布尔先生那天谈话很多,有一句话我至今没有忘记。他说,“我年纪越大,越感觉到容忍(tolerance)比自由更重要”。 diff --git a/src/content/posts/故乡.mdx b/src/content/posts/故乡.mdx index 666165a..31fb652 100644 --- a/src/content/posts/故乡.mdx +++ b/src/content/posts/故乡.mdx @@ -7,8 +7,6 @@ import { Image } from 'astro:assets'; 一只猫在阳光下睡觉。 -![](https://image.radishzz.cc/image/gallery/03.webp) - 我冒了嚴寒,回到相隔二千餘里,別了二十餘年的故鄉去。 時候既然是深冬;漸近故鄉時,天氣又陰晦了,冷風吹進船艙中,嗚嗚的響,從蓬隙向外一望,蒼黃的天底下,遠近橫著幾個蕭索的荒村,沒有一些活氣。我的心禁不住悲涼起來了。 diff --git a/src/content/posts/羅生門.md b/src/content/posts/羅生門.mdx similarity index 99% rename from src/content/posts/羅生門.md rename to src/content/posts/羅生門.mdx index fcadaa4..5e8ee55 100644 --- a/src/content/posts/羅生門.md +++ b/src/content/posts/羅生門.mdx @@ -3,8 +3,9 @@ title: 羅生門 published: 2022-03-05 tags: ["芥川龙之介"] --- +import { Image } from 'astro:assets'; -![](https://image.radishzz.cc/image/gallery/06.webp) +一只猫在阳光下睡觉。 ある日の暮方の事である。一人の下人げにんが、羅生門らしょうもんの下で雨やみを待っていた。