{% extends "main.jinja" %} {% macro os_section(os) %} {% set os_info = info[os] %} {% set client_recommend_info = os_info['clients'][os_info['client_recommend']] %}

If your device is running {{ os_info['title'] }}, we recommend:

Installing

{{ box_client(os, os_info['client_recommend']) }}

Via

{{ box_installer(os, os_info['client_recommend'], client_recommend_info['installer_recommend']) }}
{% if client_recommend_info['installer_other']|length %}

You can also install {{ client_recommend_info['title'] }} via…

    {% for installer in client_recommend_info['installer_other'] %}
  • {{ box_installer(os, os_info['client_recommend'], installer) }}
  • {% endfor %}
{% endif %} {% if os_info['client_other']|length %}

Alternatively, these clients available for {{ os_info['title'] }} are also supported

{% for client_other in os_info['client_other'] %} {{ box_client(os, client_other) }} {{ box_installer(os, client_other, os_info['clients'][client_other]['installer_recommend']) }} {% endfor %}
{% endif %}
{% endmacro %} {% macro box_installer(os, client, installer) %} {% set installer_info = info[os]['clients'][client]['installers'][installer] %}

{{ installer_info['title'] }}

{% if installer_info['magic_support'] %} {{ installer_info['guide_magic'] }} {% else %} {{ installer_info['guide_package'] }} {% endif %}
{% endmacro %} {% macro box_client(os, client) %} {% set current_client_info = info[os]['clients'][client] %}

{{ current_client_info['title'] }}

{% if 'logo' in current_client_info %} {% endif %}

{{ current_client_info['description'] }}

Features

Confused?
{% for feature in current_client_info['features'] %} {% set info = feature_info[feature] %}
{{ info['title'] }}
{{ info['help'] }}
{% endfor %}
{% endmacro %} {% block content %}

{{ welcome_msg }}

{% if content %} {{ content }} {% else %}
{% for os in info %} {{ os_section(os) }} {% endfor %}
{% endif %} {% endblock %}