<@ for ver in version.list @>
    <@ if loop.first @>
{% if page.versionHref == "<$ ver.href $>" %}
    <@ else @>
{% elsif page.versionHref == "<$ ver.href $>" %}
    <@ endif @>
  {% include v2_fluid/api_menu_flat_<$ ver.name $>.html %}
<@ endfor @>
<# make the last case always be to show latest version #>
{% else %}
  {% include v2_fluid/api_menu_flat_nightly.html %}
{% endif %}
