add noselect for ToC

This commit is contained in:
Junyi Hou 2024-03-04 19:34:27 +08:00
parent e96eefacf4
commit 5ba1746266
3 changed files with 4 additions and 4 deletions

View file

@ -25,8 +25,8 @@
{{ if gt .Site.Params.readNextPosts 0 }}
{{ $related := .Site.RegularPages.Related . | first .Site.Params.readNextPosts }}
{{ with $related }}
<h3 class="read-next-title">{{ i18n "readNext" }}</h3>
<ul class="read-next-posts">
<h3 class="read-next-title noselect">{{ i18n "readNext" }}</h3>
<ul class="read-next-posts noselect">
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}