diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 03:23:11 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 03:23:11 +0300 |
commit | 339a4b76073832f8ff741b6a698a0de22c1a1b6c (patch) | |
tree | 8470100374077dc9f4e5964223d059261426d377 /layouts/go/single.html | |
parent | 398867b5661a0a5b025274c451679d5582b0a947 (diff) |
Diffstat (limited to 'layouts/go/single.html')
-rw-r--r-- | layouts/go/single.html | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/layouts/go/single.html b/layouts/go/single.html index f8dc52f..3b97a36 100644 --- a/layouts/go/single.html +++ b/layouts/go/single.html @@ -4,16 +4,8 @@ <div class="col-xs-12 col-sm-12 col-md-4 sidebar"> <h1 class="post-title fw-semibold">←<a href="{{.Page.FirstSection.RelPermalink}}">{{.Page.FirstSection.Title}}</a></h1> {{ if .Page.TableOfContents }} - <h2 class="fw-semibold">Содержание</h2> - {{ .Page.TableOfContents }} {{ end }} {{if .Page.FirstSection.Pages}} - <h2 class="fw-semibold">Остальное</h2> - <ul> - {{ range .Page.CurrentSection.Pages }} - <li> - <a href="{{ .RelPermalink }}">{{ .Title }}</a> - </li> - {{ end }} - </ul> + <h2 class="fw-semibold">Содержание</h2> + {{ .Page.TableOfContents }} {{ end }} </div> <div class="col-xs-12 col-sm-12 col-md-8 content"> |