Commit 7e6bd453 authored by Hans-Christoph Steiner's avatar Hans-Christoph Steiner

disable polyglot "relativization" to fix FDroid.apk links

polyglot was forcing links to FDroid.apk to be relative to the locale,
which broke the links.  It can't be disabled in exclude_from_localization
because of:
https://github.com/untra/polyglot/issues/79
parent 52afedca
......@@ -94,7 +94,10 @@ layout: default
<p>
{{ strings.suggest_downloading_via_fdroid }}
</p>
<a href="https://f-droid.org/FDroid.apk" class="material-button">{{ site.data.strings.index.download_fdroid }}</a>
<!-- The FDroid.apk links need the space at the start of the href=""
to disable the polyglot link "relativization":
https://github.com/untra/polyglot/issues/79 -->
<a href=" https://f-droid.org/FDroid.apk" class="material-button">{{ site.data.strings.index.download_fdroid }}</a>
<ul class="package-versions-list">
{% for package in page.packages %}
<li class="package-version">
......
---
layout: default
permalink: /
---
{% assign strings = site.data.strings.index %}
......@@ -9,13 +10,17 @@ permalink: /
{{strings.introduction}}
<!-- The FDroid.apk links need the space at the start of the href=""
to disable the polyglot link "relativization":
https://github.com/untra/polyglot/issues/79 -->
<div class="download-and-screenshot">
<div class="download">
<div class="button">
<a class="material-button" href="https://f-droid.org/FDroid.apk">{{ strings.download_fdroid }}</a>
<a class="material-button" href=" https://f-droid.org/FDroid.apk">{{ strings.download_fdroid }}</a>
</div>
<div class="gpg">
<a href="https://f-droid.org/FDroid.apk.asc">{{ strings.gpg_signature }}</a>
<a href=" https://f-droid.org/FDroid.apk.asc">{{ strings.gpg_signature }}</a>
</div>
<div class="qr">
<img src="{{ site.baseurl }}/assets/download-fdroid-qr.png" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment