Adding no following, referer and NewTab capability for tabs.
This commit is contained in:
parent
ebd4f05942
commit
3b2c0104c5
6 changed files with 20 additions and 21 deletions
|
@ -119,26 +119,27 @@
|
|||
<div>
|
||||
<h3>{{ .Title }}</h3>
|
||||
{{ if hasPrefix .Title "Flatpak" }}
|
||||
<a href="https://flathub.org/apps/details/{{ .Index }}">
|
||||
<a rel="nofollow noreferrer" href="https://flathub.org/apps/details/{{ .Index }}">
|
||||
{{ partial "badge.html" (dict "Icon" "flathub" "Lang" $lang "Alt" "storeFlathub" ) }}
|
||||
</a>
|
||||
<br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
|
||||
{{ else if hasPrefix .Title "Snap" }}
|
||||
{{ $disclaimers.Set "snapcraft" true }}
|
||||
<a href="https://snapcraft.io/{{ .Index }}">
|
||||
<a rel="nofollow noreferrer" href="https://snapcraft.io/{{ .Index }}">
|
||||
{{ partial "badge.html" (dict "Icon" "snapcraft" "Lang" $lang "Alt" "storeSnapcraft" ) }}
|
||||
</a>
|
||||
<br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }}
|
||||
{{ else if hasPrefix .Title "Firefox" }}
|
||||
{{ $disclaimers.Set "firefox" true }}
|
||||
<a href="https://addons.mozilla.org/en-US/firefox/addon/{{ .Index }}/">
|
||||
<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><br>{{ i18n "warnExternalWebsite" "addons.mozilla.org" }}
|
||||
{{ else }}
|
||||
{{ i18n "file" }} {{ replace .Name "<version>" $appdata.version }}<br><br>
|
||||
<div class="primary center fit-content" role="button">
|
||||
<a href="https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/{{ $appindex }}/v{{ $appdata.version }}/{{ replace .File "<version>" $appdata.version }}">
|
||||
{{ $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">
|
||||
<i class="icon-download icon-as-text" alt=""></i>{{ i18n "download" }}
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue