Adding Launchpad.net badge.

This commit is contained in:
Adsooi 2021-10-03 15:50:37 +02:00
parent 8cd5c276d0
commit 22f8e4ec13
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
12 changed files with 415 additions and 113 deletions
layouts/_default

View file

@ -132,6 +132,12 @@
{{ partial "badge.html" (dict "Icon" "snapcraft" "Lang" $lang "Alt" "storeSnapcraft" ) }}
</a>
<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 }}/">
{{ partial "badge.html" (dict "Icon" "launchpad" "Lang" $lang "Alt" "storeLaunchpad" ) }}
</a>
<br><br>{{ i18n "warnExternalWebsite" "launchpad.net" }}
{{ else if hasPrefix .Title "Firefox" }}
{{ $disclaimers.Set "firefox" true }}
<a rel="nofollow noreferrer" href="https://addons.mozilla.org/en-US/firefox/addon/{{ .Index }}/">