From 7627f13a1a8fe5521a3e534ad0c5f3cfcba99b68 Mon Sep 17 00:00:00 2001
From: Simon Hollingshead <me@simonhollingshead.com>
Date: Sun, 09 Apr 2023 01:20:00 +0000
Subject: [PATCH] Treat the links in the footer as external. (#796)
---
layouts/partials/footer.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 94f1449..201f5a2 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -11,9 +11,9 @@
{{ i18n "licensed_under" }} {{ .Site.Params.license | safeHTML }}
ยท
{{ end }}
- {{ i18n "powered_by" }} <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
+ {{ i18n "powered_by" }} <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/" target="_blank" rel="noopener">Coder</a>.
{{ if (and .Site.Params.commit .GitInfo) }}
- [<a href="{{ .Site.Params.commit }}/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>]
+ [<a href="{{ .Site.Params.commit }}/{{ .GitInfo.Hash }}" target="_blank" rel="noopener">{{ .GitInfo.AbbreviatedHash }}</a>]
{{ end }}
</section>
</footer>
--
Gitblit v1.10.0