From 4c40685be4a919f4483febc6fc9249fa59651fae Mon Sep 17 00:00:00 2001 From: yingyu5658 Date: Tue, 13 Jan 2026 22:33:08 +0800 Subject: style: show the summary of every post on recent-posts --- content/mastodon.md | 9 ------ content/posts/weekly/1.md | 5 +++- content/posts/weekly/2.md | 5 +++- content/posts/weekly/3.md | 7 +++-- content/posts/weekly/4.md | 6 ++-- content/posts/weekly/5.md | 7 +++-- layouts/_default/baseof.html | 1 - layouts/_default/single.html | 5 ++-- layouts/index.html | 4 ++- layouts/partials/custom_head.html | 7 ++--- layouts/partials/footer.html | 2 +- layouts/partials/header.html | 5 ++++ layouts/partials/style.html | 53 +++++++++++++++++++++++++--------- layouts/shortcodes/mastodon.html | 16 ----------- layouts/shortcodes/recent-posts.html | 55 +++++++++++++++++++++--------------- 15 files changed, 106 insertions(+), 81 deletions(-) delete mode 100644 content/mastodon.md diff --git a/content/mastodon.md b/content/mastodon.md deleted file mode 100644 index 9431934..0000000 --- a/content/mastodon.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: 'Mastodon' -date: '2026-01-11T20:09:03+08:00' -slug: -categories: -tags: -comments: false ---- -{{< mastodon >}} diff --git a/content/posts/weekly/1.md b/content/posts/weekly/1.md index 42373da..03f710c 100644 --- a/content/posts/weekly/1.md +++ b/content/posts/weekly/1.md @@ -12,7 +12,10 @@ tags: - 日本文学 draft: false --- -> 这里是回声周刊,分享我这周读过的文章或书籍,分享近期发生的大事小事,每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 + +这里是回声周刊,分享我这周读过的文章或书籍,分享近期发生的大事小事,每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 + + ## 〰︎ 声波 diff --git a/content/posts/weekly/2.md b/content/posts/weekly/2.md index 90fc0ba..6448580 100644 --- a/content/posts/weekly/2.md +++ b/content/posts/weekly/2.md @@ -12,7 +12,10 @@ tags: - 语言 draft: false --- -> 这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 + +这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 + + ## 〰︎ 声波 diff --git a/content/posts/weekly/3.md b/content/posts/weekly/3.md index 17af011..3de05c2 100644 --- a/content/posts/weekly/3.md +++ b/content/posts/weekly/3.md @@ -13,9 +13,12 @@ tags: draft: false --- -![](https://images.glowisle.me/jason-yuen-UQBmFv4u0wc-unsplash.jpg) -> 这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 +这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 + + + +![](https://images.glowisle.me/jason-yuen-UQBmFv4u0wc-unsplash.jpg) ## 〰︎ 声波 diff --git a/content/posts/weekly/4.md b/content/posts/weekly/4.md index aad3ad4..04f06e4 100644 --- a/content/posts/weekly/4.md +++ b/content/posts/weekly/4.md @@ -16,9 +16,11 @@ tags: draft: false --- -![封面图([📸 Waldemar Brandt](https://unsplash.com/photos/orange-red-and-pink-rose-flower-sycOtFg3SBc))](https://images.glowisle.me/waldemar-brandt-sycOtFg3SBc-unsplash.webp) +这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 + + -> 这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 +![封面图([📸 Waldemar Brandt](https://unsplash.com/photos/orange-red-and-pink-rose-flower-sycOtFg3SBc))](https://images.glowisle.me/waldemar-brandt-sycOtFg3SBc-unsplash.webp) ## 🕮 声源 diff --git a/content/posts/weekly/5.md b/content/posts/weekly/5.md index 204770e..444ba11 100644 --- a/content/posts/weekly/5.md +++ b/content/posts/weekly/5.md @@ -12,9 +12,10 @@ tags: draft: false --- -![](https://images.glowisle.me/) +这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 + + -> 这里是回声周刊,分享我这周读过的文章书籍、近期发生的大事小事。每周日更新。如果你对这个周刊感兴趣,可以 [订阅周刊](/categories/%E5%9B%9E%E5%A3%B0%E5%91%A8%E5%88%8A/atom.xml) 或加入 [TG频道](https://t.me/glowisle)。 这周我一直在忙期末复习,因此本期周刊内容很少,最晚可能要到下下期恢复正常量。 @@ -92,7 +93,7 @@ draft: false 就拿了一本《一个人的好天气》和《舞》结账,结果花了一百五十块。唉,真黑啊! -![价值四块钱的袋子……](https://images.glowisle.me/https://images.glowisle.me/E4188D7B80E34C235C46CF10E0A5D4BE.jpg) +![价值四块钱的袋子……](https://images.glowisle.me/E4188D7B80E34C235C46CF10E0A5D4BE.jpg) 我不知道怎么拒绝说我自己带包了不要袋子,花四块钱又买了一个袋子,这次出行唯一成功的就是悬崖勒马没有被她忽悠充值办卡…… diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ea312f9..72b2954 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -22,7 +22,6 @@ -
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 38c4c28..b16d254 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,5 @@ -{{ define "main" }} {{ if eq .Type "blog" }} {{ if not .Params.menu }} -

{{ .Title }}

-{{ end }} {{ end }} +{{ define "main" }} +
{{- partial "header.html" . -}}

{{ .Title }}

diff --git a/layouts/index.html b/layouts/index.html index d975ecb..2c47df5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1 +1,3 @@ -{{ define "main" }} {{ .Content }} {{ end }} +{{ define "main" }} +
{{- partial "header.html" . -}}
+{{ .Content }} {{ end }} diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html index a485758..ba9276e 100644 --- a/layouts/partials/custom_head.html +++ b/layouts/partials/custom_head.html @@ -14,10 +14,7 @@ - diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5c8683c..3f0ea30 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,6 @@