diff options
author | Alexander Bilz <mail@alexbilz.com> | 2022-03-06 20:34:08 +0300 |
---|---|---|
committer | Alexander Bilz <mail@alexbilz.com> | 2022-03-06 20:34:08 +0300 |
commit | 3dc2ebc738a452c5e60609f7a052b4ec5348d17f (patch) | |
tree | 8a1d7b51dd3a8b9b3667d3e835385cff4d7866d4 /layouts | |
parent | a22f17ca78345ba84e45c9428ecb5ab1737172b1 (diff) | |
parent | 45f82b635d567e57c2a5b40bd78352b64f47a3ea (diff) |
Merge remote-tracking branch 'origin/master' into feature/improve-portfolio-metadata-styling
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/series.html | 2 | ||||
-rw-r--r-- | layouts/portfolio/list.html | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index cd973a8..6043511 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,7 @@ > {{- partial "head.html" . -}} <body - {{ if eq .Params.displayMode "dark" }} + {{ if eq .Site.Params.displayMode "dark" }} class="body theme--dark" {{ else }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e6482e6..e0954b2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,7 +15,7 @@ {{ end }} <div class="post__content"> - <h1>{{ .Title }}</h1> + <h1>{{ title .Title }}</h1> {{ if or (eq .Type "post") (eq .Type .Site.Params.postSectionName) }} <ul class="post__meta"> <li class="post__meta-item"> diff --git a/layouts/index.html b/layouts/index.html index 36dd0dc..ef29d79 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -57,7 +57,7 @@ {{ end }} <div class="post__content"> - <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> + <h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3> {{ if .Site.Params.fullPostContent }} {{ .Content }} diff --git a/layouts/partials/series.html b/layouts/partials/series.html index 380be46..eed27ea 100644 --- a/layouts/partials/series.html +++ b/layouts/partials/series.html @@ -4,7 +4,7 @@ <h3>Posts in this Series</h3> <ul> {{ range $related }} - <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li> + <li><a href="{{ .Page.RelPermalink }}">{{ title .Page.Title }}</a></li> {{ end }} </ul> diff --git a/layouts/portfolio/list.html b/layouts/portfolio/list.html index ca8a59a..1e1d3ca 100644 --- a/layouts/portfolio/list.html +++ b/layouts/portfolio/list.html @@ -9,7 +9,7 @@ {{ end }}" > - <h2 class="portfolio__title">{{ .title }}</h2> + <h2 class="portfolio__title">{{ title .title }}</h2> {{ range $i, $p := .portfolioitem }} <div class="portfolio"> {{ if .image }} |