From cdacdc3a2c8858160452582d708e2026ddf8419c Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 30 Jan 2026 17:31:01 +0000 Subject: chore: update webmentions Former-commit-id: 8c902257e4546196bc0824c01d5ecc5dd1ffb1c4 --- data/webmentions.json | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/data/webmentions.json b/data/webmentions.json index 8c33d628..19a56824 100644 --- a/data/webmentions.json +++ b/data/webmentions.json @@ -140,23 +140,6 @@ } ], "/posts/site-report-3/": [ - { - "type": "in-reply-to", - "author": { - "type": "card", - "name": "Webmention Rocks!", - "photo": "https://avatars.webmention.io/webmention.rocks/e08155b03da96cb1bdfd161ea24efdfad8d85d06afcee540ec246f1f613eb5a9.png", - "url": "" - }, - "url": "https://webmention.rocks/receive/1", - "source": "https://webmention.rocks/receive/1/7a23e7b04d7372fcc6fd11b5c2fdfb5e", - "published": "2026-01-24T18:44:41-08:00", - "received": "2026-01-25T02:44:42Z", - "content": { - "html": "

This test verifies that you accept a Webmention request that contains a valid source and target URL. To pass this test, your Webmention endpoint must return either HTTP 200, 201 or 202 along with the appropriate headers.

\n

If your endpoint returns HTTP 201, then it MUST also return a Location header. If it returns HTTP 200 or 202, then it MUST NOT include a Location header.

", - "text": "This test verifies that you accept a Webmention request that contains a valid source and target URL. To pass this test, your Webmention endpoint must return either HTTP 200, 201 or 202 along with the appropriate headers.\n If your endpoint returns HTTP 201, then it MUST also return a Location header. If it returns HTTP 200 or 202, then it MUST NOT include a Location header." - } - }, { "type": "like-of", "author": { @@ -242,6 +225,22 @@ "content": null } ], + "/posts/wandering/": [ + { + "type": "like-of", + "author": { + "type": "card", + "name": "Doin\u7684\u8d5b\u535a\u7a7a\u95f4 :verified:", + "photo": "https://avatars.webmention.io/c7.io/20f5055af61e347d2cb34945c2b99efb207f90c98b5eaa9278618af19aeacd8f.jpg", + "url": "https://c7.io/@doin" + }, + "url": "https://akk.eltr.ac/notice/B2WyBFAEWp8Juh18Ma#favorited-by-B2SrMh01QnWasuUyDQ", + "source": "https://brid.gy/like/mastodon/@eltrac@akk.eltr.ac/B2WyBFAEWp8Juh18Ma/B2SrMh01QnWasuUyDQ", + "published": null, + "received": "2026-01-22T14:44:09Z", + "content": null + } + ], "/posts/weekly/65/": [ { "type": "like-of", -- cgit v1.2.3 From ca7c81eabff9f5ce46f09f324dce4a073de934f5 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sat, 31 Jan 2026 12:06:33 +0800 Subject: feat: tighter code block Former-commit-id: 6b591e784ae29cb9cba32c2c8ea9bade03595695 --- assets/css/_markdown.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss index e85811b2..50a83c9d 100644 --- a/assets/css/_markdown.scss +++ b/assets/css/_markdown.scss @@ -149,6 +149,7 @@ $block-background-color: var(--block-background-color); border: 0; overflow: auto; display: block; + line-height: 1.5; &:not([data-lang="fallback"])::before { --width: 1rem; -- cgit v1.2.3 From ef9ea9ffe4f10a1b5fedbbd940ce7d5195137641 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sat, 31 Jan 2026 12:07:10 +0800 Subject: remove: now-read-this (related posts) it adds clutter and is not very useful Former-commit-id: ec13457ab7b6c69182d1ea798f9ed739db71aea8 --- i18n/en.yml | 1 - i18n/zh.yml | 1 - layouts/_partials/posts/now-read-this.html | 23 ----------------------- layouts/_partials/template/post-page.html | 1 - 4 files changed, 26 deletions(-) delete mode 100644 layouts/_partials/posts/now-read-this.html diff --git a/i18n/en.yml b/i18n/en.yml index aa04e276..f530ca72 100644 --- a/i18n/en.yml +++ b/i18n/en.yml @@ -19,7 +19,6 @@ postNav: moreLinks: posts: 'All Posts' cards: 'All Cards' -nowReadThis: 'Now Read This' backToHome: 'Back To Home' termPage: cards: 'Cards about this topic' diff --git a/i18n/zh.yml b/i18n/zh.yml index 416f2fb1..713b299d 100644 --- a/i18n/zh.yml +++ b/i18n/zh.yml @@ -19,7 +19,6 @@ cards: 最近在学 moreLinks: posts: '所有文章' cards: '所有卡片' -nowReadThis: '接下来阅读' backToHome: '返回首页' termPage: cards: '相关卡片' diff --git a/layouts/_partials/posts/now-read-this.html b/layouts/_partials/posts/now-read-this.html deleted file mode 100644 index f7b77fcb..00000000 --- a/layouts/_partials/posts/now-read-this.html +++ /dev/null @@ -1,23 +0,0 @@ -{{ with site.RegularPages.Related . | first 1 }} -{{ range . }} - -

- {{ T "nowReadThis" }} -

-
- - {{ .LinkTitle }} - {{ with .Params.subtitle }} - :{{ . }} - {{ end }} - - ⏱️ {{ .ReadingTime }}min -
-
-

{{ .Summary | plainify }}

-
-
-{{ end }} -{{ end }} diff --git a/layouts/_partials/template/post-page.html b/layouts/_partials/template/post-page.html index 872c6588..b05b6b41 100644 --- a/layouts/_partials/template/post-page.html +++ b/layouts/_partials/template/post-page.html @@ -44,6 +44,5 @@ {{ partial "posts/action-menu.html" . }} - {{ partial "posts/now-read-this.html" . }} {{ partial "components/back-to-top.html" . }} -- cgit v1.2.3