 display: block;" onchange="location = this.value;">
            {%- for item in versions.branches %}
            <option value="{{ item.url }}" {% if item == current_version %}selected{% endif %}>{{ item.name }}</option>
            {%- endfor %}
            {%- for item in versions.tags|reverse %}
            <option value="{{ item.url }}" {% if item == current_version %}selected{% endif %}>{{ item.name }}</option>
            {%- endfor %}
          </select>
        </li>
      </ul>
    </div>
</nav>
{