NDOJ/templates/runtime-version-fragment.html
2020-01-21 15:35:58 +09:00

12 lines
376 B
HTML

{% for name, versions in runtime_versions -%}
{%- if versions -%}
{%- if versions[0] != versions|last -%}
{{ name }} {{ versions[0] }} - {{ versions|last }}
{%- else -%}
{{ name }} {{ versions[0] }}
{%- endif -%}
{%- else -%}
{{ name }}
{%- endif -%}
{%- if not loop.last %}, {% endif -%}
{%- endfor -%}