diff options
Diffstat (limited to 'layouts')
-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 }} |