{% assign release_version = include.version | make_release_version: include.release %} {% if include.page %} {% assign release_article = page %} {% else %} {% assign release_article = site.article | find: "url", release_version.release_notes %} {% endif %}
Download Godot {{ release_version.name }} {{ release_version.flavor }}
{% unless release_article == empty %} {% endunless %}
{% assign download_primary = release_version | get_download_primary: false %} {% for primary in download_primary %} {% comment %} When iterating over a hash, you get an array. 0-th item is the key, and 1-st item is the value. {% endcomment %} {% if primary[0] == "linux" or primary[0] == "macos" or primary[0] == "windows" %} {% assign platform_info = site.data.download_platforms | find: "name", primary[1] %}
{{ platform_info.title }} {{ platform_info.title }}
Standard
{% assign mono_download = release_version | make_download: primary[1], true, "github_builds" %} {% if mono_download == "#" %}
{% else %} {% assign has_mono = true %}
.NET
{% endif %} {% endif %} {% endfor %}