{% macro render_windows(version, alt) %} {% set download_prefix = 'https://archive.torproject.org/tor-package-archive/torbrowser/' + version + '/' %} {% if alt == 'en' %} {% set alt = 'en-US' %} {% elif alt == 'es' %} {% set alt = 'es-ES' %} {% endif %} {% set download_link_64 = download_prefix + 'torbrowser-install-win64-' + version + '_' + alt + '.exe' %} {% set download_link_32 = download_prefix + 'torbrowser-install-' + version + '_' + alt + '.exe' %} {% set sig_link_64 = download_link_64 + '.asc' %} {% set sig_link_32 = download_link_32 + '.asc' %} 32-bit (sig) / 64-bit (sig) {% endmacro %} {% macro render_windows_expert(version, win32) %} {% set download_prefix = '/dist/torbrowser/' + version + '/' %} {% set download_link_32 = download_prefix + 'tor-win32-' + win32 + '.zip' %} {% set sig_link_32 = download_link_32 + '.asc' %} Download (sig) {% endmacro %} {% macro render_mac(version, alt) %} {% set download_prefix = 'https://archive.torproject.org/tor-package-archive/torbrowser/' + version + '/' %} {% if alt == 'en' %} {% set alt = 'en-US' %} {% elif alt == 'es' %} {% set alt = 'es-ES' %} {% endif %} {% set download_link = download_prefix + 'TorBrowser-' + version + '-osx64' + '_' + alt + '.dmg' %} {% set sig_link = download_link + '.asc' %} 64-bit (sig) {% endmacro %} {% macro render_linux(version, alt) %} {% set download_prefix = 'https://archive.torproject.org/tor-package-archive/torbrowser/' + version + '/' %} {% if alt == 'en' %} {% set alt = 'en-US' %} {% elif alt == 'es' %} {% set alt = 'es-ES' %} {% endif %} {% set download_link_64 = download_prefix + 'tor-browser-linux64-' + version + '_' + alt + '.tar.xz' %} {% set download_link_32 = download_prefix + 'tor-browser-linux32-' + version + '_' + alt + '.tar.xz' %} {% set sig_link_64 = download_link_64 + '.asc' %} {% set sig_link_32 = download_link_32 + '.asc' %} 32-bit (sig) / 64-bit (sig) {% endmacro %} {% macro render_android(version, arch) %} {% set download_link = 'https://dist.torproject.org/torbrowser/' + version + '/' + 'tor-browser-' + version + '-android-' + arch + '-multi.apk' %} {% set sig_link = download_link + '.asc' %} {{ arch }} (sig) {% endmacro %} {% macro render_fdroid() %} S00N {% endmacro %} {% macro render_onion_browser() %} Onion Browser. {% endmacro %} {% macro render_tor_browser_manual() %} {{ _('Tor Browser manual') }} {% endmacro %} {% macro render_tor_browser_blog_post() %} {{ _('blog post') }} {% endmacro %}