From 35e18fcf2c4d957de9f00220f2bba9adc7bad4db Mon Sep 17 00:00:00 2001 From: Drew Morris <drewmerit.personal@gmail.com> Date: Sat, 28 Jan 2023 13:29:53 -0700 Subject: [PATCH 1/5] Update USERS.md --- USERS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/USERS.md b/USERS.md index a77d8b9..b58a488 100644 --- a/USERS.md +++ b/USERS.md @@ -66,6 +66,7 @@ - https://blog.jontes.page **Jonte** (general tech geek) - https://nazdarthegame.com/ **Michal Skoula** (Software Developer) - https://1mup.myorange.house **Antonio Garosi** (Street art gallery) +- https://drewmorris.info **Drew Morris** (Mathematician && Computer Scientist) <!-- TEMPLATE: From 5e4e359e89371728a5295a6c3b691f6fffe77480 Mon Sep 17 00:00:00 2001 From: Christoph <47949835+Sir-Photch@users.noreply.github.com> Date: Tue, 31 Jan 2023 18:10:38 +0100 Subject: [PATCH 2/5] Update USERS.md just as a notice, in case you want to keep this USERS.md update; There are multiple links not pointing to hugo-theme-terminal sites, as far as I can see. --- USERS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/USERS.md b/USERS.md index a77d8b9..617e97a 100644 --- a/USERS.md +++ b/USERS.md @@ -66,6 +66,7 @@ - https://blog.jontes.page **Jonte** (general tech geek) - https://nazdarthegame.com/ **Michal Skoula** (Software Developer) - https://1mup.myorange.house **Antonio Garosi** (Street art gallery) +- https://sir-photch.xyz **Sir-Photch** (ComSci-student. German Blog) <!-- TEMPLATE: From a81c5ae24f4d66116fed9d614fcb39a8ca5f3128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9zar=20Augusto?= <32869222+cizordj@users.noreply.github.com> Date: Wed, 22 Mar 2023 20:22:42 -0300 Subject: [PATCH 3/5] Remove duplicated robots tag Closes #446 --- layouts/partials/head.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5a4f31e..9352d88 100644 --- 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 }}" /> From 9726b8d80658c6cf3c092c21484548aba6f64a68 Mon Sep 17 00:00:00 2001 From: panr <radoslaw.koziel@gmail.com> Date: Thu, 13 Apr 2023 23:24:56 +0200 Subject: [PATCH 4/5] Allow target="_blank" with .Params.NewTab set to true This commit belongs to the PR: https://github.com/panr/hugo-theme-terminal/pull/370 by @matidfk --- layouts/partials/menu.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 41b0d1c..33c9a89 100644 --- 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 }} From ef7108798bc8b4df83cc818ef4987a640eb0a885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ehrby?= <bjorn@ehrby.se> Date: Mon, 5 Jun 2023 23:47:46 +0200 Subject: [PATCH 5/5] Fix non-https link to gohugo.io Fixes the non-secure link to gohugo.io, which sometimes causes security suites to present a warning about non-secure external links --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0eb1903..02ecd25 100644 --- 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>