add rel attribute to address lighthouse audit issue

This link was getting flagged in lighthouse audits, so adding the `rel` attribute
to address it.

Used both `noopener` and `noreferrer`, since some older browsers don't support
`noopener`.
This commit is contained in:
Adam Leskis 2020-06-25 12:08:17 +01:00
parent 193fbeca7c
commit 3975db6103

View File

@ -1,3 +1,3 @@
<p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br>
{{ i18n "powered" | humanize }} <a target="_blank" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" href="https://github.com/mitrichius/hugo-theme-anubis">Anubis</a>.
</p>
{{ i18n "powered" | humanize }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/mitrichius/hugo-theme-anubis">Anubis</a>.
</p>