conditionally display OsmAnd download button; template proper apk url, size into same
This commit is contained in:
parent
cc69d322ca
commit
161d8d0e5f
3 changed files with 33 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ custom_scripts: ["maps.js", "butter-dir-listing.js"]
|
|||
|
||||
<div class="step-label">{% t maps.sections.section1.step %}</div>
|
||||
<h2>{% t maps.sections.section1.title %}</h2>
|
||||
<div class="btn-container">
|
||||
<div id="osm-dl-button" class="btn-container hidden">
|
||||
{% assign apk_url = site.baseurl | append: "/fdroid/repo/net.osmand.plus_471703.apk" %}
|
||||
{% include fancybutton.html main_cta="maps.main_cta" sub_cta="maps.sub_cta" href=apk_url %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue