summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-05-20 11:55:22 +0800
committerEltrac <hi@guhub.cn>2025-05-20 11:55:22 +0800
commite2ab06d6d90ec6a8acfc26a07670868d767cf7c6 (patch)
tree514d7a9623138d8b34e4f5e3033e81b68fa9cb9d
parent07c7fd9c7e9e86ae106632bd430782c1ab114658 (diff)
remove: post bottom navigation
According to the website's analytics, the navigation has been used merely 6 times in the past week. And the total pageview is 2.33k. So it is safe to say that the majority of the website's visitors does not need this ugly navigation.
-rw-r--r--layouts/posts/single.html13
1 files changed, 0 insertions, 13 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index e6dc6006..3707a8ab 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -67,18 +67,5 @@
</ul>
</div>
{{ end }}
-
- <!-- Post Bottom Navigation -->
- <nav class="post-bottom-navigation">
- <ul>
- {{ if .NextInSection }}
- <li><a href="{{ .NextInSection.RelPermalink }}" data-umami-event="Click Next Post">← {{ .NextInSection.Title }}</a></li>
- {{ else }}<li class="placeholder"></li>{{ end }}
- <li style="place-self: center;"><a href="{{ .Site.LanguagePrefix }}/">{{ T "backToHome" }}</a></li>
- {{ if .PrevInSection }}
- <li><a href="{{ .PrevInSection.RelPermalink }}" data-umami-event="Click Previous Post">{{ .PrevInSection.Title }} →</a></li>
- {{ else }}<li class="placeholder"></li>{{ end }}
- </ul>
- </nav>
</article>
{{ end }}