summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-16 23:35:50 +0800
committerEltrac <hi@guhub.cn>2025-04-16 23:35:50 +0800
commit0c395752cf65d0b4e56406c6efd37dd5c28a0826 (patch)
tree74a59d453dc161c89f6dd906889412f22f9da552
parentbd2a14f400a2ebbb0de0bb1e152f8c3ff9ff20ed (diff)
feat: add descriptions to all categories
-rw-r--r--assets/css/components/_taxonomy.scss6
-rw-r--r--content/categories/game++/_index.md1
-rw-r--r--content/categories/人类恶疾/_index.md1
-rw-r--r--content/categories/塔罗牌漫谈/_index.md1
-rw-r--r--content/categories/年终总结/_index.md1
-rw-r--r--content/categories/掏心/_index.md1
-rw-r--r--content/categories/揽物日志/_index.md1
-rw-r--r--content/categories/猫头鹰化石/_index.md1
-rw-r--r--content/categories/生产力报告/_index.md1
-rw-r--r--content/categories/稻草人周刊/_index.md2
-rw-r--r--content/categories/艺术脑袋/_index.md1
-rw-r--r--content/categories/诗意发作/_index.md1
-rw-r--r--layouts/_default/taxonomy.html2
13 files changed, 17 insertions, 3 deletions
diff --git a/assets/css/components/_taxonomy.scss b/assets/css/components/_taxonomy.scss
index b13f3ac5..605795b0 100644
--- a/assets/css/components/_taxonomy.scss
+++ b/assets/css/components/_taxonomy.scss
@@ -15,6 +15,7 @@
font-size: 0.9rem
}
h3.category-title {
+ margin: 0.25rem 0;
a:hover {
text-decoration: none;
}
@@ -38,6 +39,9 @@
}
}
}
+ .category-description {
+ margin-top: 0;
+ }
}
}
@@ -72,6 +76,6 @@
}
.taxonomy-description hr {
- margin: 0.5rem 0;
+
}
}
diff --git a/content/categories/game++/_index.md b/content/categories/game++/_index.md
index b79c9f15..284ab5a2 100644
--- a/content/categories/game++/_index.md
+++ b/content/categories/game++/_index.md
@@ -1,6 +1,7 @@
---
title: Game++
icon: 🕹️
+description: 写游戏开发日志的地方。
aliases:
- "Game++"
---
diff --git a/content/categories/人类恶疾/_index.md b/content/categories/人类恶疾/_index.md
index 7b4baaa9..5a2610ce 100644
--- a/content/categories/人类恶疾/_index.md
+++ b/content/categories/人类恶疾/_index.md
@@ -1,4 +1,5 @@
---
title: 人类恶疾
icon: ☠️
+description: 以非专业的病理视角分析人类行为。
---
diff --git a/content/categories/塔罗牌漫谈/_index.md b/content/categories/塔罗牌漫谈/_index.md
index 925bbb11..7d2b199c 100644
--- a/content/categories/塔罗牌漫谈/_index.md
+++ b/content/categories/塔罗牌漫谈/_index.md
@@ -1,4 +1,5 @@
---
title: 塔罗牌漫谈
icon: ☪️
+description: 78 张牌补全计划。
---
diff --git a/content/categories/年终总结/_index.md b/content/categories/年终总结/_index.md
index da3e7283..bdff24e2 100644
--- a/content/categories/年终总结/_index.md
+++ b/content/categories/年终总结/_index.md
@@ -1,4 +1,5 @@
---
title: 年终总结
icon: 👣
+description: 奇怪的习惯。
---
diff --git a/content/categories/掏心/_index.md b/content/categories/掏心/_index.md
index 6aff082a..8b5f9638 100644
--- a/content/categories/掏心/_index.md
+++ b/content/categories/掏心/_index.md
@@ -1,4 +1,5 @@
---
title: 掏心
icon: 🫀
+description: 在自己的文字面前一败涂地。
---
diff --git a/content/categories/揽物日志/_index.md b/content/categories/揽物日志/_index.md
index d8bd25d7..479b5fd8 100644
--- a/content/categories/揽物日志/_index.md
+++ b/content/categories/揽物日志/_index.md
@@ -1,4 +1,5 @@
---
title: 揽物日志
icon: 🪀
+description: 逃亡,与消费主义。
---
diff --git a/content/categories/猫头鹰化石/_index.md b/content/categories/猫头鹰化石/_index.md
index 456bbc6a..cfb05a3a 100644
--- a/content/categories/猫头鹰化石/_index.md
+++ b/content/categories/猫头鹰化石/_index.md
@@ -1,4 +1,5 @@
---
title: 猫头鹰化石
icon: 🦉
+description: 词源学,和鸟类没有关系。
---
diff --git a/content/categories/生产力报告/_index.md b/content/categories/生产力报告/_index.md
index a16f1275..f23505dc 100644
--- a/content/categories/生产力报告/_index.md
+++ b/content/categories/生产力报告/_index.md
@@ -1,4 +1,5 @@
---
title: 生产力报告
icon: 📊
+description: 生产力色情~~文学~~。
---
diff --git a/content/categories/稻草人周刊/_index.md b/content/categories/稻草人周刊/_index.md
index cb207bcc..28879708 100644
--- a/content/categories/稻草人周刊/_index.md
+++ b/content/categories/稻草人周刊/_index.md
@@ -1,5 +1,5 @@
---
title: 稻草人周刊
-description: 一个读者的自述,每周一更新。
+description: 一个读者的自述,**每周一更新**。
icon: 🎃
---
diff --git a/content/categories/艺术脑袋/_index.md b/content/categories/艺术脑袋/_index.md
index a1b4485e..c04d2e1c 100644
--- a/content/categories/艺术脑袋/_index.md
+++ b/content/categories/艺术脑袋/_index.md
@@ -1,4 +1,5 @@
---
title: 艺术脑袋
icon: 🧠
+description: 有时我的大脑会以为它很懂艺术。
---
diff --git a/content/categories/诗意发作/_index.md b/content/categories/诗意发作/_index.md
index 6cfd84ea..ee80dc6e 100644
--- a/content/categories/诗意发作/_index.md
+++ b/content/categories/诗意发作/_index.md
@@ -1,4 +1,5 @@
---
title: 诗意发作
icon: 👁️‍🗨️
+description: 可能是一种病。
---
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 24606ff8..6aaf3d46 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -26,7 +26,7 @@
{{ with .Page.Params.icon }}<span>{{ . }}</span>{{ end }} {{ .Page.LinkTitle }}
</a>
</h3>
- <p>{{ .Page.Params.description }}</p>
+ <p class="category-description">{{ .Page.Params.description | markdownify }}</p>
<ul class="category-articles">
{{ range first 6 .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>