From ec41236bc88a0762656413c38044ffa256bd93cb Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 17 Jul 2025 11:25:10 +0800 Subject: refactor: avoid using straight value in UnoCSS --- content/linkroll.md | 4 +- layouts/_partials/components/global-search.html | 2 +- layouts/_partials/footer.html | 10 ++-- layouts/_partials/header.html | 10 ++-- layouts/_partials/home/home-nav.html | 2 +- layouts/_partials/home/latest-cards.html | 4 +- layouts/_partials/items/book.html | 2 +- layouts/_partials/items/card.html | 4 +- layouts/_partials/items/post-small.html | 4 +- layouts/_partials/items/post.html | 4 +- layouts/_partials/posts/comment.html | 2 +- layouts/_partials/posts/endnotes.html | 2 +- layouts/_partials/posts/now-read-this.html | 4 +- layouts/_partials/taxonomy/tag-pill.html | 4 +- layouts/_shortcodes/callout.html | 4 +- layouts/_shortcodes/link.html | 2 +- layouts/_shortcodes/quotecard.html | 6 +-- layouts/cards/section.html | 4 +- layouts/cards/single.html | 6 +-- layouts/fictions/section.html | 17 ++++--- layouts/library/page.html | 10 ++-- layouts/library/section.html | 4 +- layouts/library/yearlist.html | 2 +- layouts/page.html | 2 +- layouts/posts/page.html | 8 +-- layouts/section.html | 8 +-- layouts/term.html | 2 +- uno.config.js | 67 +++++++++---------------- 28 files changed, 94 insertions(+), 106 deletions(-) diff --git a/content/linkroll.md b/content/linkroll.md index 59e0bd37..609a12b3 100644 --- a/content/linkroll.md +++ b/content/linkroll.md @@ -11,7 +11,7 @@ aliases: ## 我常读的中文博客 -
+
{{< link link="https://www.velasx.com/" title="Velas 电波站" >}} {{< link link="https://brocalife.com/" title="白洛嘉" >}} {{< link link="https://onojyun.com/" title="莫比乌斯" >}} @@ -33,7 +33,7 @@ aliases: ## 我常听的中文播客 -
+
{{< link type="podcast" title="独树不成林" link="https://podcasts.apple.com/cn/podcast/%E7%8B%AC%E6%A0%91%E4%B8%8D%E6%88%90%E6%9E%97/id1711052890" image="https://image.guhub.cn/uPic/2025/06/Fp3PROfjHhWN5OjBQf6Y8lUh3KkB.png@small.png" >}} {{< link type="podcast" title="碳基生物生存指南" link="https://podcasts.apple.com/cn/podcast/%E7%A2%B3%E5%9F%BA%E7%94%9F%E7%89%A9%E7%94%9F%E5%AD%98%E6%8C%87%E5%8D%97/id1707385930" image="https://image.guhub.cn/uPic/2025/06/Fj8-4YU1LHRuvPF76MLRlxPjzOON.png@small.png" >}} {{< link type="podcast" title="没理想编辑部" link="https://podcasts.apple.com/cn/podcast/%E6%B2%A1%E7%90%86%E6%83%B3%E7%BC%96%E8%BE%91%E9%83%A8/id1494093522" image="https://image.guhub.cn/uPic/2025/06/aHR0cHM6Ly9jZG4udmlzdG9waWEuY29tLmNuL2ltZy9wb2RjYXN0LW1seGZtLXYxLmpwZw==.jpg@small.jpeg" >}} diff --git a/layouts/_partials/components/global-search.html b/layouts/_partials/components/global-search.html index a4b82122..aa654306 100644 --- a/layouts/_partials/components/global-search.html +++ b/layouts/_partials/components/global-search.html @@ -18,7 +18,7 @@