privacyguides.org/_includes/downloads.html
Jonah Aragon 749e87cc60
Big layout improvements
Collections make more sense, added an edit button
2021-05-02 19:49:21 -05:00

20 lines
1.6 KiB
HTML

{% if page.platform_win or page.platform_mac or page.platform_linux or page.platform_bsd or page.platform_android or page.platform_fdroid or page.platform_ios %}
<h2 class="pt-3">Downloads</h2>
<ul class="list-unstyled">
{% if page.platform_win or page.platform_mac or page.platform_linux or page.platform_bsd %}
<li><h3 class="h5 pt-3">Desktop/PC</h3><ul class="list-unstyled">
{% if page.platform_win %}<li><a href="{{ page.platform_win }}"><i class="fab fa-windows fa-fw"></i> Download for Windows</a></li>{% endif %}
{% if page.platform_mac %}<li><a href="{{ page.platform_mac }}"><i class="fab fa-app-store fa-fw"></i> Download for macOS</a></li>{% endif %}
{% if page.platform_linux %}<li><a href="{{ page.platform_linux }}"><i class="fab fa-linux fa-fw"></i> Download for Linux</a></li>{% endif %}
{% if page.platform_bsd %}<li><a href="{{ page.platform_bsd }}"><i class="fab fa-freebsd fa-fw"></i> Download for FreeBSD</a></li>{% endif %}
</ul></li>
{% endif %}{% if page.platform_android or page.platform_fdroid or page.platform_ios %}
<li><h3 class="h5 pt-3">Mobile</h3><ul class="list-unstyled">
{% if page.platform_android %}<li><a href="{{ page.platform_android }}"><i class="fab fa-google-play fa-fw"></i> Download for Android</a></li>{% endif %}
{% if page.platform_fdroid %}<li><a href="{{ page.platform_fdroid }}"><i class="fab fa-android fa-fw"></i> Download for Android (F-Droid)</a></li>{% endif %}
{% if page.platform_ios %}<li><a href="{{ page.platform_ios }}"><i class="fab fa-app-store-ios fa-fw"></i> Download for iOS</a></li>{% endif %}
</ul></li>{% endif %}
</ul>
{% endif %}