summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18n/en.yml1
-rw-r--r--i18n/zh.yml1
-rw-r--r--layouts/_partials/posts/now-read-this.html23
-rw-r--r--layouts/_partials/template/post-page.html1
4 files changed, 0 insertions, 26 deletions
diff --git a/i18n/en.yml b/i18n/en.yml
index 9b1d2668..0326df77 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 52bfdf86..f921124f 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 . }}
-<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>