summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-03-27 14:38:16 +0800
committerEltrac <hi@guhub.cn>2025-03-27 14:38:16 +0800
commit40e5067a0fed5110cb8ac79d0a80f2b777530b4b (patch)
treeb77c108345544c0203eb930dc7d0f4fc5eed1cd4
parent7c4120af196f04e320a62c6102ef1e621c4a0538 (diff)
chore: move links to a card and delete original page
-rw-r--r--content/about.md6
-rw-r--r--content/cards/links.md19
-rw-r--r--content/en/links.md15
-rw-r--r--content/links.md37
-rw-r--r--hugo.yaml4
-rw-r--r--layouts/shortcodes/bloglink.html11
6 files changed, 34 insertions, 58 deletions
diff --git a/content/about.md b/content/about.md
index fb9d8887..6a83c543 100644
--- a/content/about.md
+++ b/content/about.md
@@ -55,7 +55,11 @@ date: 2024-11-27
### 可以交换友情链接吗?
-网站不交换友情链接,我会在 [链接](/links) 页面放上自己喜欢的、常看的博客和网站。如果你在网站下留言,而我恰巧喜欢你的内容,我会在这个页面上放上你网站的链接;当然,至于你是否也在贵站加上「极客死亡计划」的链接,这与我无关。
+网站不交换友情链接,我会在这里放上自己常逛的博客。
+
+{{< card "links" >}}
+
+如果你在网站下留言,而我恰巧喜欢你的内容,我会在这个页面上放上你网站的链接;当然,至于你是否也在贵站加上「极客死亡计划」的链接,这与我无关。
## 联系我
diff --git a/content/cards/links.md b/content/cards/links.md
new file mode 100644
index 00000000..ef3e82c2
--- /dev/null
+++ b/content/cards/links.md
@@ -0,0 +1,19 @@
+---
+title: 常逛的中文博客
+tags:
+ - 索引
+date: 2025-03-27 14:27:28
+---
+
+- [Velas 电波站](https://www.velasx.com/)
+- [白洛嘉](https://brocalife.com/)
+- [莫比乌斯](https://onojyun.com/)
+- [白熊阿丸的小屋](https://blog.bxaw.name/)
+- [CC 的数字花园](https://cyrus19.cc/)
+- [Rolen](https://rolen.wiki/)
+- [dyron503's](https://career.dyron503.top/)
+- [非礼勿试](https://www.ntiy.com/)
+- [查令十字街 84 号](https://www.javis.me/)
+- [Owen 的博客](https://www.owenyoung.com/)
+- [SkyWT](https://skywt.cn/)
+- [LCZBlog](https://blog.licaoz.com/)
diff --git a/content/en/links.md b/content/en/links.md
index de97b5e9..4018b910 100644
--- a/content/en/links.md
+++ b/content/en/links.md
@@ -3,11 +3,12 @@ title: Links
date: 2025-01-25
---
-Here's a list of websites that I frequently visit. There's [another list](/links) of Chinese blogs and indie websites.
+Here's a list of websites that I frequently visit. There's [another list](/cards/links) of Chinese blogs and indie websites.
-<div class="blog-links">
- {{< bloglink link="https://news.ycombinator.com" title="Hacker News" description="this, of course." image="https://news.ycombinator.com/y18.svg" >}}
- {{< bloglink link="https://anhvn.com" title="anhvn" description="anh has some truly cool designs!" >}}
- {{< bloglink link="https://toby.fangamer.com" title="TobyFox Newsletter" description="My favorite game developer!" >}}
- {{< bloglink link="https://neal.fun" title="Neal Fun" description="Fun web games that makes you think" >}}
-</div>
+- [Hacker News](https://news.ycombinator.com)
+- [anhvn](https://anhvn.com)
+ - anh has some truly cool designs!
+- [TobyFox Newsletter](https://toby.fangamer.com)
+ - My favorite game developer!
+- [Neal Fun](https://neal.fun)
+ - Fun web games that makes you think.
diff --git a/content/links.md b/content/links.md
deleted file mode 100644
index 2a086cb1..00000000
--- a/content/links.md
+++ /dev/null
@@ -1,37 +0,0 @@
----
-created: 2024-07-28T00:00
-updated: 2024-08-24T09:31
-title: 链接
----
-
-## ✍️ 作家们
-
-<div class="blog-links">
- {{< bloglink link="https://www.velasx.com/" title="Velas电波站" image="https://image.guhub.cn/picgo/velas-icon" >}}
- {{< bloglink link="https://brocalife.com/" title="白洛嘉" image="https://image.guhub.cn/picgo/broca-icon" >}}
- {{< bloglink link="https://onojyun.com/" title="莫比乌斯" image="https://image.guhub.cn/picgo/ono-icon" >}}
- {{< bloglink link="https://blog.bxaw.name/" title="白熊阿丸的小屋" image="https://cravatar.cn/avatar/21531185e8296f70da566b68d3fc9785" >}}
- {{< bloglink link="https://cyrus19.cc" title="CC的数字花园" image="https://image.guhub.cn/uPic/2025/02/faf7eac7430a7b95a7e9089f3d599da.png" >}}
- {{< bloglink link="https://rolen.wiki/" title="Rolen" image="https://rolen.wiki/wp-content/uploads/2024/09/cropped-rolen-logo-black-2-180x180.png" >}}
- {{< bloglink link="https://career.dyron503.top/" title="dyron503's" image="https://image.guhub.cn/uPic/2025/02/-JQnvJmxt.png" >}}
- {{< bloglink link="https://yipai.me" title="一派胡言" >}}
- {{< bloglink link="https://www.ntiy.com" title="非理勿试" image="https://image.guhub.cn/uPic/2025/02/5c481c94e33768bd896fced563afeed3.png.webp" >}}
- {{< bloglink link="https://www.javis.me" title="查令十字街 84 号" >}}
-</div>
-
-## 🧑‍💻 黑客们
-
-<div class="blog-links">
- {{< bloglink link="https://blog.licaoz.com/" title="LCZBlog" image="https://image.guhub.cn/picgo/licaoz-icon" >}}
- {{< bloglink link="https://blog.skk.moe/" title="Sukka's Blog" image="https://cdn.skk.moe/avatar/96x96.png" >}}
- {{< bloglink link="https://www.yunyoujun.cn/" title="云游君的小站" image="https://www.yunyoujun.cn/images/avatar.jpg" >}}
- {{< bloglink link="https://www.owenyoung.com" title="Owen" image="https://image.guhub.cn/uPic/2025/02/apple-icon-180x180.png" >}}
- {{< bloglink link="https://61.life" title="61's life" >}}
- {{< bloglink link="https://skywt.cn" title="SkyWT" image="https://image.guhub.cn/uPic/2025/02/avatar.webp" >}}
-</div>
-
----
-
-> 网站不交换友情链接,我会在 [链接](./links) 页面放上自己喜欢的、常看的博客和网站。如果你在网站下留言,而我恰巧喜欢你的内容,我会在这个页面上放上你网站的链接;当然,至于你是否也在贵站加上「极客死亡计划」的链接,这与我无关。
->
-> —— [关于](/about) | 极客死亡计划
diff --git a/hugo.yaml b/hugo.yaml
index 2a7e33a9..01cfcbf4 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -24,8 +24,8 @@ languages:
- name: 卡片
link: /cards/
target: _self
- - name: 链接
- link: /links/
+ - name: 书籍
+ link: /library/
target: _self
series:
- name: 人类恶疾
diff --git a/layouts/shortcodes/bloglink.html b/layouts/shortcodes/bloglink.html
deleted file mode 100644
index 53398393..00000000
--- a/layouts/shortcodes/bloglink.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<a href="{{.Get "link" }}" class="blog-link" target="_blank">
- {{ if and (isset .Params "image") .Params.image }}
- <div class="blog-link-image">
- <img src="{{ .Params.image }}" class="no-fancybox" alt="{{ .Params.title }}" />
- </div>
- {{ end }}
- <div class="blog-link-content">
- <h4>{{.Get "title" }}</h4>
- <p>{{.Get "description" }}</p>
- </div>
-</a>