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