diff options
| author | Eltrac <hi@guhub.cn> | 2025-07-19 20:44:22 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-07-19 20:44:22 +0800 |
| commit | c185f5cd837f451ec85b34b09ccdccebe88734e0 (patch) | |
| tree | 3569d4b45e181d2fe93c5013d1f9d3b0fe0cc6b3 | |
| parent | e6b388b6529ae81697e7c6a07dd5f377f57d3f4a (diff) | |
feat: add short description to post items
| -rw-r--r-- | content/posts/永远不要提醒自杀者关心家人.md | 1 | ||||
| -rw-r--r-- | content/posts/群体中不存在自律.md | 3 | ||||
| -rw-r--r-- | content/posts/语言表意效率差异导致的思维差异.md | 1 | ||||
| -rw-r--r-- | layouts/_partials/items/post.html | 12 |
4 files changed, 12 insertions, 5 deletions
diff --git a/content/posts/永远不要提醒自杀者关心家人.md b/content/posts/永远不要提醒自杀者关心家人.md index 9219ba51..3e5ad8f7 100644 --- a/content/posts/永远不要提醒自杀者关心家人.md +++ b/content/posts/永远不要提醒自杀者关心家人.md @@ -5,6 +5,7 @@ tags: - 存在主义 - 心理学 - 死亡 +description: 站在道德高地批评一个活在绝望中的人,算什么东西? date: 2025-07-10T00:14:00 draft: false toc: false diff --git a/content/posts/群体中不存在自律.md b/content/posts/群体中不存在自律.md index 8493bf18..0e2fe553 100644 --- a/content/posts/群体中不存在自律.md +++ b/content/posts/群体中不存在自律.md @@ -4,9 +4,10 @@ tags: - 群体 - 习惯 - 内阻力 +description: 意志力是蠢人对世界的表演。 date: 2025-07-11T23:23:00 draft: false -toc: +toc: related_cards: - 课题分离 --- diff --git a/content/posts/语言表意效率差异导致的思维差异.md b/content/posts/语言表意效率差异导致的思维差异.md index 548d8de0..57a52ad6 100644 --- a/content/posts/语言表意效率差异导致的思维差异.md +++ b/content/posts/语言表意效率差异导致的思维差异.md @@ -3,6 +3,7 @@ title: 语言表意效率差异导致的思维差异 tags: - 语言 - English +description: 汉语使用者非常喜欢挪用专有名词,而英语中言外之意的泛滥也导致了语言变得越来越抽象。 date: 2025-07-13T13:41:00 draft: false toc: true diff --git a/layouts/_partials/items/post.html b/layouts/_partials/items/post.html index 1adf86af..2bf6a157 100644 --- a/layouts/_partials/items/post.html +++ b/layouts/_partials/items/post.html @@ -33,10 +33,14 @@ </div> {{ end }} </header> - {{ if $showSummary }} - <div class="markdown-body text-size-lg!" - style="view-transition-name: post-content-{{ .File.UniqueID }}"> + {{ if or $showSummary .ctx.Params.description }} + <div class="markdown-body text-size-lg!" + style="view-transition-name: post-content-{{ .File.UniqueID }}"> + {{ if $showSummary }} {{ .ctx.Summary }} - </div> + {{ else if .ctx.Params.description }} + {{ .ctx.Params.description }} + {{ end }} + </div> {{ end }} </div> |
