Removing rels.

This commit is contained in:
Adsooi 2022-04-11 04:00:36 +02:00
parent 11a5133a49
commit 1f7bd1dfb4
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 5 additions and 5 deletions

View file

@ -141,7 +141,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<div> <div>
<h3>{{ .Title }}</h3> <h3>{{ .Title }}</h3>
{{ if hasPrefix .Title "Flatpak" }} {{ 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" ) }} {{ partial "badge.html" (dict "Icon" "flathub" "Lang" $lang "Alt" "storeFlathub" ) }}
<br> <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"/> <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" }} <br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
{{ else if hasPrefix .Title "Snap" }} {{ else if hasPrefix .Title "Snap" }}
{{ $disclaimers.Set "snapcraft" true }} {{ $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" ) }} {{ partial "badge.html" (dict "Icon" "snapcraft" "Lang" $lang "Alt" "storeSnapcraft" ) }}
<br> <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"/> <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" }} <br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }}
{{ else if hasPrefix .Title "Launchpad" }} {{ else if hasPrefix .Title "Launchpad" }}
{{ $disclaimers.Set "launchpad" true }} {{ $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" ) }} {{ partial "badge.html" (dict "Icon" "launchpad" "Lang" $lang "Alt" "storeLaunchpad" ) }}
</a> </a>
<br><br>{{ i18n "warnExternalWebsite" "launchpad.net" }}<!--<br><br> <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>--> <p class="text-left code">$ sudo add-apt-repository ppa:ad5001/logarithmplotter<br>$ sudo apt update</p>-->
{{ else if hasPrefix .Title "Firefox" }} {{ else if hasPrefix .Title "Firefox" }}
{{ $disclaimers.Set "firefox" true }} {{ $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" ) }} {{ partial "badge.html" (dict "Icon" "amo" "Lang" $lang "Alt" "storeFirefoxAddons" ) }}
<br> <br>
<img loading='lazy' src="https://img.shields.io/amo/v/{{ .Index }}?logo=Firefox" alt="{{ $AppData.version }} on addons.mozilla.org"/> <img loading='lazy' src="https://img.shields.io/amo/v/{{ .Index }}?logo=Firefox" alt="{{ $AppData.version }} on addons.mozilla.org"/>

View file

@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
--> -->
{{ range . }} {{ range . }}
<div role="button" class="{{ if .Secondary }}secondary{{ else if .Tag }}tag{{ else }}primary{{ end }}"> <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 }} {{ 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> </a>
</div> </div>