Browse Source

Removing rels.

master
Ad5001 3 months ago
parent
commit
1f7bd1dfb4
Signed by: Ad5001
GPG Key ID: EF45F9C6AFE20160
  1. 8
      layouts/_default/app.html
  2. 2
      layouts/partials/links.html

8
layouts/_default/app.html

@ -141,7 +141,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<div>
<h3>{{ .Title }}</h3>
{{ if hasPrefix .Title "Flatpak" }}
<a rel="nofollow noreferrer" href="https://flathub.org/apps/details/{{ .Index }}">
<a href="https://flathub.org/apps/details/{{ .Index }}">
{{ partial "badge.html" (dict "Icon" "flathub" "Lang" $lang "Alt" "storeFlathub" ) }}
<br>
<img loading='lazy' src="https://img.shields.io/flathub/v/{{ .Index }}?label=on%20flathub&logo=Flathub&logoColor=white&color=4A86CF" alt="Version on flathub"/>
@ -150,7 +150,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
{{ else if hasPrefix .Title "Snap" }}
{{ $disclaimers.Set "snapcraft" true }}
<a rel="nofollow noreferrer" href="https://snapcraft.io/{{ .Index }}">
<a href="https://snapcraft.io/{{ .Index }}">
{{ partial "badge.html" (dict "Icon" "snapcraft" "Lang" $lang "Alt" "storeSnapcraft" ) }}
<br>
<img loading='lazy' src="https://badgen.net/snapcraft/v/{{ .Index }}?label=on%20snapstore&color=FA6441&icon=https://ad5001.eu/icons/skills/snapcraft.svg" alt="Version on snapstore"/>
@ -160,7 +160,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }}
{{ else if hasPrefix .Title "Launchpad" }}
{{ $disclaimers.Set "launchpad" true }}
<a rel="nofollow noreferrer" href="https://launchpad.net/~ad5001/+archive/ubuntu/{{ .Index }}/">
<a href="https://launchpad.net/~ad5001/+archive/ubuntu/{{ .Index }}/">
{{ partial "badge.html" (dict "Icon" "launchpad" "Lang" $lang "Alt" "storeLaunchpad" ) }}
</a>
<br><br>{{ i18n "warnExternalWebsite" "launchpad.net" }}<!--<br><br>
@ -168,7 +168,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<p class="text-left code">$ sudo add-apt-repository ppa:ad5001/logarithmplotter<br>$ sudo apt update</p>-->
{{ else if hasPrefix .Title "Firefox" }}
{{ $disclaimers.Set "firefox" true }}
<a rel="nofollow noreferrer" href="https://addons.mozilla.org/en-US/firefox/addon/{{ .Index }}/">
<a href="https://addons.mozilla.org/en-US/firefox/addon/{{ .Index }}/">
{{ partial "badge.html" (dict "Icon" "amo" "Lang" $lang "Alt" "storeFirefoxAddons" ) }}
<br>
<img loading='lazy' src="https://img.shields.io/amo/v/{{ .Index }}?logo=Firefox" alt="{{ $AppData.version }} on addons.mozilla.org"/>

2
layouts/partials/links.html

@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
{{ range . }}
<div role="button" class="{{ if .Secondary }}secondary{{ else if .Tag }}tag{{ else }}primary{{ end }}">
<a href="{{ .URL | safeURL }}" role="button" title="{{ .Title }}" rel="{{ if .NewTab }}nofollow {{ end }}noreferrer" {{ if .NewTab }}target="_blank"{{ end }}>
<a href="{{ .URL | safeURL }}" role="button" title="{{ .Title }}" {{ if .NewTab }}target="_blank"{{ end }}>
{{ if .Icon }}<i class="icon-{{ lower .Icon }} icon-as-text" alt="{{ .Icon }}"></i>{{ end }}{{ if .Image }}<img class="icon-as-text" alt="{{ .Icon }}" src="{{ .Image }}" loading="lazy"></img>{{ end }}{{ .Title }}
</a>
</div>

Loading…
Cancel
Save