diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 02:52:40 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 02:52:40 +0300 |
commit | 6c3cfc0b059bf735abd07499571da8dea905c1d3 (patch) | |
tree | 03c7dfcc20c2976275f8ccdee580ae7d046519eb | |
parent | 1023cc3043a1a9cf73c5ae9876b664e074454731 (diff) |
Auto-commit 2024-12-22
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/go/single.html | 2 | ||||
-rw-r--r-- | layouts/pico8/single.html | 2 | ||||
-rw-r--r-- | layouts/projects/single.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 507553d..5be26da 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@ <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-4 sidebar"> - <h1 class="post-title fw-semibold">{{.Page.FirstSection.Title}}</h1> + <h1 class="post-title fw-semibold"><a href="{{.Page.FirstSection.RelPermalink}}">{{.Page.FirstSection.Title}}</a></h1> {{ if len .Page.TableOfContents }} <h2 class="fw-semibold">Содержание</h2> {{ .Page.TableOfContents }} {{ end }} {{if .Page.FirstSection.Pages}} diff --git a/layouts/go/single.html b/layouts/go/single.html index 4252924..10590b1 100644 --- a/layouts/go/single.html +++ b/layouts/go/single.html @@ -2,7 +2,7 @@ <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-4 sidebar"> - <h1 class="post-title fw-semibold">{{.Page.FirstSection.Title}}</h1> + <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}} diff --git a/layouts/pico8/single.html b/layouts/pico8/single.html index 4871f4f..97ce24a 100644 --- a/layouts/pico8/single.html +++ b/layouts/pico8/single.html @@ -2,7 +2,7 @@ <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-4 sidebar"> - <h1 class="post-title fw-semibold">{{.Page.CurrentSection.Title}}</h1> + <h1 class="post-title fw-semibold"><a href="{{.Page.FirstSection.RelPermalink}}">{{.Page.FirstSection.Title}}</a></h1> {{if .Page.CurrentSection.Pages}} <h2 class="fw-semibold">Остальное</h2> <ul> diff --git a/layouts/projects/single.html b/layouts/projects/single.html index 14ce85f..34f048c 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -2,7 +2,7 @@ <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-4 sidebar"> - <h1 class="post-title fw-semibold">{{.Page.CurrentSection.Title}}</h1> + <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 }} |