Removing nofollow where it's not needed.

This commit is contained in:
Adsooi 2021-08-10 22:58:31 +02:00
parent 3b2c0104c5
commit a02e94cfbd
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
4 changed files with 7 additions and 7 deletions

View file

@ -139,7 +139,7 @@
{{ i18n "file" }} {{ replace .Name "<version>" $appdata.version }}<br><br>
<div class="primary center fit-content" role="button">
{{ $filename := replace .File "<version>" $appdata.version }}
<a href="https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/{{ $appindex }}/v{{ $appdata.version }}/{{ $filename }}" download rel="nofollow noreferrer">
<a href="https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/{{ $appindex }}/v{{ $appdata.version }}/{{ $filename }}" download rel="noreferrer">
<i class="icon-download icon-as-text" alt=""></i>{{ i18n "download" }}
</a>
</div>

View file

@ -13,11 +13,11 @@
</div>
<div class="col3 text-right padding-container-1">
<p>{{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma" rel="nofollow noreferrer">Omegamma</a></p>
<p>{{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma" rel="noreferrer">Omegamma</a></p>
<p>{{ i18n "poweredBy" }} <a href="https://gohugo.io" rel="nofollow noreferrer">Hugo</a></p>
<p><a href="{{ .Site.Params.websiteSource }}" rel="nofollow noreferrer">{{ i18n "websiteSource" }}</a>
<p><a href="{{ .Site.Params.websiteSource }}" rel="noreferrer">{{ i18n "websiteSource" }}</a>
{{ if .GitInfo }}
- built from <a href="{{ .Site.Params.websiteSource }}/commit/{{ .GitInfo.Hash }}" rel="nofollow noreferrer">{{ .GitInfo.AbbreviatedHash }}</a>
- built from <a href="{{ .Site.Params.websiteSource }}/commit/{{ .GitInfo.Hash }}" rel="noreferrer">{{ .GitInfo.AbbreviatedHash }}</a>
{{ end }}
</p>
</div>

View file

@ -31,7 +31,7 @@
<ul class="sub-menu">
{{ range .Children }}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }} background">
<a href="{{ .URL }}" role="button" rel="nofollow noreferrer">
<a href="{{ .URL }}" role="button" rel="noreferrer">
{{ .Name }}
</a>
</li>
@ -40,7 +40,7 @@
</li>
{{ else }}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
<a href="{{ .URL }}" role="button" rel="nofollow noreferrer">
<a href="{{ .URL }}" role="button" rel="noreferrer">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>

View file

@ -1,6 +1,6 @@
{{ range . }}
<div role="button" class="primary">
<a href="{{ .URL | safeURL }}" role="button" title="{{ .Title }}" rel="nofollow noreferrer" {{ if .NewTab }}target="_blank"{{ end }}>
<a href="{{ .URL | safeURL }}" role="button" title="{{ .Title }}" rel="{{ if .NewTab }}nofollow {{ end }}noreferrer" {{ if .NewTab }}target="_blank"{{ end }}>
<i class="icon-{{ lower .Icon }} icon-as-text" alt="{{ .Icon }}"></i>{{ .Title }}
</a>
</div>