aboutsummaryrefslogtreecommitdiff
path: root/layouts/go/single.html
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-22 03:23:11 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-22 03:23:11 +0300
commit339a4b76073832f8ff741b6a698a0de22c1a1b6c (patch)
tree8470100374077dc9f4e5964223d059261426d377 /layouts/go/single.html
parent398867b5661a0a5b025274c451679d5582b0a947 (diff)
Auto-commit 2024-12-22HEADmaster
Diffstat (limited to 'layouts/go/single.html')
-rw-r--r--layouts/go/single.html12
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">&larr;<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">