Adding shields

This commit is contained in:
Ad5001 2022-01-12 11:52:18 +01:00
parent 37e4396960
commit d8092e9063
Signed by: Ad5001
GPG Key ID: EF45F9C6AFE20160
1 changed files with 5 additions and 0 deletions

View File

@ -143,6 +143,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<a rel="nofollow noreferrer" href="https://flathub.org/apps/details/{{ .Index }}">
{{ partial "badge.html" (dict "Icon" "flathub" "Lang" $lang "Alt" "storeFlathub" ) }}
</a>
<br>
<img src="https://img.shields.io/flathub/v/{{ .Index }}?label=on%20flathub"/>
<br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
{{ else if hasPrefix .Title "Snap" }}
{{ $disclaimers.Set "snapcraft" true }}
@ -161,6 +163,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<a rel="nofollow noreferrer" href="https://addons.mozilla.org/en-US/firefox/addon/{{ .Index }}/">
{{ partial "badge.html" (dict "Icon" "amo" "Lang" $lang "Alt" "storeFirefoxAddons" ) }}
</a>
<br>
<img src="https://img.shields.io/amo/v/{{ .Index }}?logo=Firefox"/>
<img src="https://img.shields.io/amo/rating/{{ .Index }}?logo=Firefox"/>
<br><br>{{ i18n "warnExternalWebsite" "addons.mozilla.org" }}
{{ else }}
{{ i18n "file" }} {{ replace .Name "<version>" $AppData.version }}<br><br>