summaryrefslogtreecommitdiff
path: root/layouts/_partials
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-31 12:07:10 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-31 12:07:10 +0800
commitef9ea9ffe4f10a1b5fedbbd940ce7d5195137641 (patch)
tree644fb98e01272999bb1aab614f2939e8336a2fa2 /layouts/_partials
parentca7c81eabff9f5ce46f09f324dce4a073de934f5 (diff)
remove: now-read-this (related posts)
it adds clutter and is not very useful Former-commit-id: ec13457ab7b6c69182d1ea798f9ed739db71aea8
Diffstat (limited to 'layouts/_partials')
-rw-r--r--layouts/_partials/posts/now-read-this.html23
-rw-r--r--layouts/_partials/template/post-page.html1
2 files changed, 0 insertions, 24 deletions
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 . }}
-<a class="-mx-4 mt-4 p-4 pb-7 relative leading-loose block rounded-xl
- hover:no-underline hover:bg-neutral-200/25 dark:hover:bg-neutral-700/25 transition-colors"
- href="{{ .RelPermalink }}">
- <h4 class="absolute -z-1 bottom-0 right-4 text-8 m-0 opacity-20 font-italic">
- {{ T "nowReadThis" }}
- </h4>
- <div class="flex justify-between">
- <span class="font-800 text-lg">
- {{ .LinkTitle }}
- {{ with .Params.subtitle }}
- <span class="text-secondary font-normal">:{{ . }}</span>
- {{ end }}
- </span>
- <span class="text-secondary">⏱️ {{ .ReadingTime }}min </span>
- </div>
- <div class="font-light">
- <p>{{ .Summary | plainify }}</p>
- </div>
-</a>
-{{ 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 @@
</div>
{{ partial "posts/action-menu.html" . }}
- {{ partial "posts/now-read-this.html" . }}
{{ partial "components/back-to-top.html" . }}
</article>