commit 672ab557a42d2fd2bc9c286c55024cc6b3425674
parent 194fc9b1c30c4924d17a1e903d2dc1aca6280d38
Author: Radek Kozieł <radoslaw.koziel@gmail.com>
Date:   Fri,  9 Jun 2023 23:21:15 +0200

Merge branch 'master' into patch-1
Diffstat:
MUSERS.md | 2++
Mlayouts/partials/footer.html | 2+-
Mlayouts/partials/head.html | 3++-
Mlayouts/partials/menu.html | 6+++---
4 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/USERS.md b/USERS.md @@ -67,6 +67,8 @@ - https://nazdarthegame.com/ **Michal Skoula** (Software Developer) - https://1mup.myorange.house **Antonio Garosi** (Street art gallery) - https://dgood.win **Dom Goodwin** (Platform Engineer) +- https://sir-photch.xyz **Sir-Photch** (ComSci-student. German Blog) +- https://drewmorris.info **Drew Morris** (Mathematician && Computer Scientist) <!-- TEMPLATE: diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html @@ -5,7 +5,7 @@ <span>{{ $.Site.Copyright | safeHTML }}</span> {{ else }} <div class="copyright"> - <span>© {{ now.Year }} Powered by <a href="http://gohugo.io">Hugo</a></span> + <span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span> {{ end }} <span>:: <a href="https://github.com/panr/hugo-theme-terminal" target="_blank">Theme</a> made by <a href="https://github.com/panr" target="_blank">panr</a></span> </div> diff --git a/layouts/partials/head.html b/layouts/partials/head.html @@ -2,11 +2,12 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else if .Description}}{{ .Description | plainify }}{{ else }}{{ .Summary | plainify }}{{ end }}" /> <meta name="keywords" content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}" /> -<meta name="robots" content="noodp" /> {{ if .Params.noindex }} {{ if or (eq (.Param "noindex") true) (eq (.Param "noindex") "true") }} <meta name="robots" content="noindex" /> {{ end }} +{{ else }} + <meta name="robots" content="noodp" /> {{ end }} <link rel="canonical" href="{{ .Permalink }}" /> diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html @@ -3,7 +3,7 @@ {{ if or $.Site.Params.showMenuItems ( eq .Site.Params.showMenuItems 0 ) }} {{ range first $.Site.Params.showMenuItems $.Site.Menus.main }} {{ if not .HasChildren }} - <li><a href="{{ .URL }}">{{ .Name }}</a></li> + <li><a href="{{ .URL }}" {{ if .Params.NewTab -}} target="_blank" {{- end }}>{{ .Name }}</a></li> {{ end }} {{ end }} {{ if gt (len $.Site.Menus.main) $.Site.Params.showMenuItems }} @@ -14,7 +14,7 @@ <ul class="menu__dropdown"> {{ range last (sub (len $.Site.Menus.main) $.Site.Params.showMenuItems) $.Site.Menus.main }} {{ if not .HasChildren }} - <li><a href="{{ .URL }}">{{ .Name }}</a></li> + <li><a href="{{ .URL }}" {{ if .Params.NewTab -}} target="_blank" {{- end }}>{{ .Name }}</a></li> {{ end }} {{ end }} </ul> @@ -25,7 +25,7 @@ {{ else }} {{ range $.Site.Menus.main }} {{ if not .HasChildren }} - <li><a href="{{ .URL }}">{{ .Name }}</a></li> + <li><a href="{{ .URL }}" {{ if .Params.NewTab -}} target="_blank" {{- end }}>{{ .Name }}</a></li> {{ end }} {{ end }} {{ end }}