add noselect for ToC
This commit is contained in:
parent
e96eefacf4
commit
5ba1746266
@ -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 }}
|
||||
|
@ -1,3 +1,3 @@
|
||||
<h1 class="site-title">
|
||||
<h1 class="site-title noselect">
|
||||
<a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a>
|
||||
</h1>
|
@ -1,5 +1,5 @@
|
||||
{{ $toc := and ($.Site.Params.toc) (ge .WordCount $.Site.Params.tocWordCount) }} {{ if isset .Params "toc" }} {{ $toc = .Params.toc }} {{ end }} {{ if $toc }}
|
||||
<details class="toc">
|
||||
<details class="toc noselect">
|
||||
<summary>Table of Contents</summary>
|
||||
<div class="inner">{{ .TableOfContents }}</div>
|
||||
</details>
|
||||
|
Loading…
Reference in New Issue
Block a user