Skip to content

Fix Download page image formatting to actually link to F-Droid and Google Play #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
37 changes: 24 additions & 13 deletions _i18n/da/general/download.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,37 @@
{% capture img-GP %} {% include image.html alt="
<!-- mdpo-disable -->

{% capture img-GP %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Få den på Google Play

"

loc="/assets/images/badges" file="get-it-on-google-play.png" width="170" %} {%
endcapture %}

{% capture img-FD %} {% include image.html alt="

url="https://play.google.com/store/apps/details?id=de.danoeh.antennapod"
loc="/assets/images/badges"
file="get-it-on-google-play.png"
width="170"
%}
{% endcapture %}

{% capture img-FD %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Få den på F-Droid

"

loc="/assets/images/badges" file="get-it-on-fdroid.png" width="170" %} {%
endcapture %}
url="https://f-droid.org/packages/de.danoeh.antennapod/"
loc="/assets/images/badges"
file="get-it-on-fdroid.png"
width="170"
%}
{% endcapture %}

Officielle versioner af AntennaPod er tilgængelige på Google Play og F-Droid:

[{{ img-GP | strip }}](https://play.google.com/store/apps/details?
id=de.danoeh.antennapod) [{{ img-FD |
strip }}](https://f-droid.org/packages/de.danoeh.antennapod/)
<!-- mdpo-disable-next-line -->
{{ img-GP | strip }} {{ img-FD | strip }}

AntennaPod udgives kun officielt i de to ovennævnte butikker, da vi ikke har tid
til at understøtte flere. Alle andre butikker, der tilbyder AntennaPod, har
Expand Down
37 changes: 25 additions & 12 deletions _i18n/de/general/download.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
{% capture img-GP %} {% include image.html alt="
<!-- mdpo-disable -->

{% capture img-GP %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Hole es dir auf Google Play

"

loc="/assets/images/badges" file="get-it-on-google-play.png" width="170" %} {%
endcapture %}

{% capture img-FD %} {% include image.html alt="

url="https://play.google.com/store/apps/details?id=de.danoeh.antennapod"
loc="/assets/images/badges"
file="get-it-on-google-play.png"
width="170"
%}
{% endcapture %}

{% capture img-FD %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Hole es dir auf F-Droid

"
url="https://f-droid.org/packages/de.danoeh.antennapod/"
loc="/assets/images/badges"
file="get-it-on-fdroid.png"
width="170"
%}
{% endcapture %}

loc="/assets/images/badges" file="get-it-on-fdroid.png" width="170" %} {%
endcapture %}
<!-- mdpo-enable -->

Offizielle Versionen von AntennaPod sind auf Google Play und F-Droid verfügbar:

[{{ img-GP | strip }}](https://play.google.com/store/apps/details?
id=de.danoeh.antennapod) [{{ img-FD |
strip }}](https://f-droid.org/packages/de.danoeh.antennapod/)
<!-- mdpo-disable-next-line -->
{{ img-GP | strip }} {{ img-FD | strip }}

AntennaPod wird offiziell nur in den beiden oben genannten App Stores
veröffentlicht, da wir nicht die Zeit haben, mehr zu unterstützen. Alle anderen,
Expand Down
4 changes: 3 additions & 1 deletion _i18n/en/general/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Get it on Google Play

"
url="https://play.google.com/store/apps/details?id=de.danoeh.antennapod"
loc="/assets/images/badges"
file="get-it-on-google-play.png"
width="170"
Expand All @@ -20,6 +21,7 @@
Get it on F-Droid

"
url="https://f-droid.org/packages/de.danoeh.antennapod/"
loc="/assets/images/badges"
file="get-it-on-fdroid.png"
width="170"
Expand All @@ -31,7 +33,7 @@
Official versions of AntennaPod are available on Google Play and F-Droid:

<!-- mdpo-disable-next-line -->
[{{ img-GP | strip }}](https://play.google.com/store/apps/details?id=de.danoeh.antennapod) [{{ img-FD | strip }}](https://f-droid.org/packages/de.danoeh.antennapod/)
{{ img-GP | strip }} {{ img-FD | strip }}

AntennaPod is only officially published in above two app stores because we don't have the time to support more. All other stores listing AntennaPod copied the app without our explicit permission. We are not responsible for updating those or making sure they work correctly. The F-Droid repository is not maintained by us, but by the people behind F-Droid. F-Droid usually takes a few days until updates get available ([read more](/documentation/general/f-droid)). If an update is still not available more than a week after its release, feel free to let us know by creating a post on our [forum](https://forum.antennapod.org/)), and we'll investigate it.

Expand Down
37 changes: 25 additions & 12 deletions _i18n/es/general/download.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
{% capture img-GP %} {% include image.html alt="
<!-- mdpo-disable -->

{% capture img-GP %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Disponible en Google Play

"

loc="/assets/images/badges" file="get-it-on-google-play.png" width="170" %} {%
endcapture %}

{% capture img-FD %} {% include image.html alt="

url="https://play.google.com/store/apps/details?id=de.danoeh.antennapod"
loc="/assets/images/badges"
file="get-it-on-google-play.png"
width="170"
%}
{% endcapture %}

{% capture img-FD %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Disponible en F-Droid

"
url="https://f-droid.org/packages/de.danoeh.antennapod/"
loc="/assets/images/badges"
file="get-it-on-fdroid.png"
width="170"
%}
{% endcapture %}

loc="/assets/images/badges" file="get-it-on-fdroid.png" width="170" %} {%
endcapture %}
<!-- mdpo-enable -->

Puedes descargar versiones oficiales de AntennaPod en Google Play y en F-Droid:

[{{ img-GP | strip }}](https://play.google.com/store/apps/details?
id=de.danoeh.antennapod) [{{ img-FD |
strip }}](https://f-droid.org/packages/de.danoeh.antennapod/)
<!-- mdpo-disable-next-line -->
{{ img-GP | strip }} {{ img-FD | strip }}

AntennaPod solo está publicado de manera oficial en las dos tiendas de arriba
porque no tenemos tiempo para estar en más. Todas las otras tiendas que listen
Expand Down
39 changes: 26 additions & 13 deletions _i18n/fr/general/download.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,40 @@
{% capture img-GP %} {% include image.html alt="
<!-- mdpo-disable -->

{% capture img-GP %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Téléchargez-le sur Google Play

"

loc="/assets/images/badges" file="get-it-on-google-play.png" width="170" %} {%
endcapture %}

{% capture img-FD %} {% include image.html alt="

url="https://play.google.com/store/apps/details?id=de.danoeh.antennapod"
loc="/assets/images/badges"
file="get-it-on-google-play.png"
width="170"
%}
{% endcapture %}

{% capture img-FD %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Téléchargez-le sur F-Droid

"
url="https://f-droid.org/packages/de.danoeh.antennapod/"
loc="/assets/images/badges"
file="get-it-on-fdroid.png"
width="170"
%}
{% endcapture %}

loc="/assets/images/badges" file="get-it-on-fdroid.png" width="170" %} {%
endcapture %}
<!-- mdpo-enable -->

Vous pouvez télécharger les versions officielles d'AntennaPod sur Google Play et
sur F-Droid :
sur F-Droid:

[{{ img-GP | strip }}](https://play.google.com/store/apps/details?
id=de.danoeh.antennapod) [{{ img-FD |
strip }}](https://f-droid.org/packages/de.danoeh.antennapod/)
<!-- mdpo-disable-next-line -->
{{ img-GP | strip }} {{ img-FD | strip }}

AntennaPod n'est officiellement publié que dans les deux AppStores pré-cités, car
nous n'avons pas le temps d'en gérer davantage. Tous les autres AppStores
Expand Down
37 changes: 25 additions & 12 deletions _i18n/it/general/download.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
{% capture img-GP %} {% include image.html alt="
<!-- mdpo-disable -->

{% capture img-GP %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Scaricala da Google Play

"

loc="/assets/images/badges" file="get-it-on-google-play.png" width="170" %} {%
endcapture %}

{% capture img-FD %} {% include image.html alt="

url="https://play.google.com/store/apps/details?id=de.danoeh.antennapod"
loc="/assets/images/badges"
file="get-it-on-google-play.png"
width="170"
%}
{% endcapture %}

{% capture img-FD %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Scaricala da F-Droid

"
url="https://f-droid.org/packages/de.danoeh.antennapod/"
loc="/assets/images/badges"
file="get-it-on-fdroid.png"
width="170"
%}
{% endcapture %}

loc="/assets/images/badges" file="get-it-on-fdroid.png" width="170" %} {%
endcapture %}
<!-- mdpo-enable -->

Le versioni ufficiali di AntennaPod sono disponibili su Google Play e F-Droid:

[{{ img-GP | strip }}](https://play.google.com/store/apps/details?
id=de.danoeh.antennapod) [{{ img-FD |
strip }}](https://f-droid.org/packages/de.danoeh.antennapod/)
<!-- mdpo-disable-next-line -->
{{ img-GP | strip }} {{ img-FD | strip }}

AntennaPod è pubblicato ufficialmente solo su questi due app store perché non
abbiamo il tempo di supportarne altri. Tutti gli altri store che hanno in
Expand Down
37 changes: 25 additions & 12 deletions _i18n/nl/general/download.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
{% capture img-GP %} {% include image.html alt="
<!-- mdpo-disable -->

{% capture img-GP %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Download het op Google Play

"

loc="/assets/images/badges" file="get-it-on-google-play.png" width="170" %} {%
endcapture %}

{% capture img-FD %} {% include image.html alt="

url="https://play.google.com/store/apps/details?id=de.danoeh.antennapod"
loc="/assets/images/badges"
file="get-it-on-google-play.png"
width="170"
%}
{% endcapture %}

{% capture img-FD %}
{% include image.html
alt="
<!-- mdpo-enable-next-line -->
Download het op F-Droid

"
url="https://f-droid.org/packages/de.danoeh.antennapod/"
loc="/assets/images/badges"
file="get-it-on-fdroid.png"
width="170"
%}
{% endcapture %}

loc="/assets/images/badges" file="get-it-on-fdroid.png" width="170" %} {%
endcapture %}
<!-- mdpo-enable -->

Officiële versies van AntennaPod zijn beschikbaar via Google Play en F-Droid:

[{{ img-GP | strip }}](https://play.google.com/store/apps/details?
id=de.danoeh.antennapod) [{{ img-FD |
strip }}](https://f-droid.org/packages/de.danoeh.antennapod/)
<!-- mdpo-disable-next-line -->
{{ img-GP | strip }} {{ img-FD | strip }}

AntennaPod is alleen officieel gepubliceerd in de twee bovengenoemde winkels
omdat we geen tijd hebben om de app op meer plekken publiceren. Alle andere
Expand Down
16 changes: 14 additions & 2 deletions _includes/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{%- capture english-url %}{{ include.loc }}/en/{{ include.file }}{% endcapture %}
{%- capture single-url %}{{ include.loc }}/{{ include.file }}{% endcapture %}
{%- assign img-alt = include.alt | remove:'<!-- mdpo-enable-next-line -->' | strip %}
{%- assign img-url = include.url %}

{%- for file in site.static_files %}
{%- if file.path == native-url %}
Expand All @@ -21,11 +22,22 @@
{%- endif %}
{%- endcapture -%}

<a href="" data-toggle="modal" data-target="#imgModal{{ include.file | remove:'.' }}">
{%- if include.url %}
<a href="{{ include.url }}">
<img src="{{ url }}" alt="{{ img-alt }}"
{%- if include.width %} width="{{ include.width }}"{% endif %}
{%- if include.max-width %} style="max-width:{{ include.max-width }};"{% endif %}
class="rounded {{ include.class }}"></a>
class="rounded {{ include.class }}">
</a>
{% else %}
<a href=""
data-toggle="modal" data-target="#imgModal{{ include.file | remove:'.' }}">
<img src="{{ url }}" alt="{{ img-alt }}"
{%- if include.width %} width="{{ include.width }}"{% endif %}
{%- if include.max-width %} style="max-width:{{ include.max-width }};"{% endif %}
class="rounded {{ include.class }}">
</a>
{% endif %}

<div class="modal fade" id="imgModal{{ include.file | remove:'.' }}" tabindex="-1" role="dialog" aria-labelledby="imgModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
Expand Down