{% assign distro = site.data[include.distro] %}
{% capture testing_version %}{% include leap_testing_release %}{% endcapture %} {% assign testing_version = testing_version | normalize_whitespace %} {% if testing_version != "" and include.type == "current" %}
{% capture distro_name %}Leap {% include leap_testing_release %} {% include leap_testing_status %}{% endcapture %} {{ locale.new_version_testing | replace: '$distro_name', distro_name }} {{ locale.learn_more }}
{% endif %} {% if include.type == "legacy" %}
{% capture distro_name %}Leap {% include leap_release %}{% endcapture %} {{ locale.new_version_available | replace: '$distro_name', distro_name }} {{ locale.learn_more }}
{% endif %}

openSUSE {{ distro.name }} {% if distro.version %}{{ distro.version }}{% endif %} {% if include.state and include.state != "Stable" %}{{ include.state }}{% endif %}

{% include overview/{{ distro.name }}.html %} {% if distro.name == "Leap" %} {% include overview/{{ include.distro }}.html %} {% endif %}
{% capture distro_hash %}{{ distro.name }}_features{% endcapture %} {% for hash in locale[distro_hash] %} {% assign feature = hash[1] %} {% capture icon %}icons/{{ hash[0] }}.svg{% endcapture %} {{ feature.rundown }}

{% include {{ icon }} %} {{ feature.name }}

{{ feature.rundown }}

{{ feature.description | markdownify }} {% for link in feature.links %} {% include icons/{{ link.icon }}.svg %} {{ link.name }} {% endfor %}
{% endfor %}
{% capture chrome_warning_link %}{{ locale.chrome_warning_policy }}{% endcapture %} {% capture chrome_warning_bug %}openSUSE/mirrorbrain#3{% endcapture %}

{{ locale.chrome_warning | replace: '$change_in_policy', chrome_warning_link | replace: '$bug', chrome_warning_bug }}

{% assign default = distro.downloads | where_exp: "item", "item.display" %} {% for tab in default %}
{% if forloop.first == false %}

{{ locale[tab.name] }}

{% endif %}
{% for arch in tab.arches %}
{{ locale[arch.name] }}
{% include types.html types=arch.types %}
{% endfor %}
{% endfor %} {% if distro.downloads.size > 1 %} {% capture alternative_downloads %}{{ locale.alternative_downloads }}{% endcapture %} {% capture options %}{% for tab in distro.downloads offset: 1 %}{{ locale[tab.name] }}{% if forloop.last == false %}, {% endif %}{% endfor %}{% endcapture %}
{{ locale.alternative_downloads_desc | replace: '$alternative_downloads', alternative_downloads | replace: '$options', options }}
{% endif %}
{% include download/{{ distro.name }}.html %} {% if distro.name == "Leap" %} {% include download/{{ include.distro }}.html %} {% endif %}
{% include verify_download.html %}
{% if distro.downloads.size > 1 %} {% include download-modal.html %} {% endif %}