aboutsummaryrefslogtreecommitdiff
path: root/layouts/go/single.html
diff options
context:
space:
mode:
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">