  <div id="navbar" class="{{ theme_navbar_class }} navbar-default navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand small-logo" href="{{ pathto('index') }}">
          <img src="{{ pathto('_static/psychopyLogoType_h240.png', 1) }}" alt="PsychoPy Logo">
        </a>
        <a class="navbar-brand large-logo" href="{{ pathto('index') }}">
          <img src="{{ pathto('_static/psychopyLogoType_h240.png', 1) }}" alt="PsychoPy Logo">
        </a>
        <!-- <span class="navbar-text navbar-version pull-right"><b>{{ version|e }}</b></span> -->
      </div>

      <div class="collapse navbar-collapse nav-collapse w-100 pull-right">
        <ul class="nav navbar-nav ml-auto">

          <li><a href="https://psychopy.org/" style="font-weight:bold">Home</a></li>
          <li><a href="https://psychopy.org/about/index.html" >About</a></li>
          <li><a href="https://pavlovia.org/">Pavlovia.org</a></li>
           <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Download<span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="https://www.psychopy.org/download.html">Install</a></li>
              <li><a href="https://www.psychopy.org/changelog.html">Change Log</a></li>
              <!-- Add more dropdown options as needed -->
            </ul>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Support <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="https://discourse.psychopy.org/">Forum</a></li>
              <li><a href="https://psychopy.org/consultancy.html">Consultancy</a></li>
              <!-- Add more dropdown options as needed -->
            </ul>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Learn<span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="https://psychopy.org/documentation.html">Documentation</a></li>
              <li><a href="https://workshops.psychopy.org/">Workshops</a></li>
              <li><a href="https://psychopy.org/teaching/index.html">Teaching</a></li>
              <li><a href="https://www.youtube.com/channel/UCQo2aB6cXJasHyXJp0afaWg">YouTube</a></li>
              <li><a href="https://pavlovia.org/explore/demos?sort=DEFAULT">Demos</a></li>
              <!-- Add more dropdown options as needed -->
            </ul>
          <li class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">More<span class="caret"></span></a>
                      <ul class="dropdown-menu">
                        <li><a href="https://psychopy.org/api/index.html">API</a></li>
                        <li><a href="https://psychopy.org/developers/index.html">Contribute</a></li>
                        <!-- Add more dropdown options as needed -->
                      </ul>
                </li>
            {% if theme_navbar_links %}
              {%- for link in theme_navbar_links %}
                <li><a href="{{ pathto(*link[1:]) }}">{{ link[0] }}</a></li>
              {%- endfor %}
            {% endif %}
            {% block navbartoc %}
              <!-- {% include "globaltoc.html" %} -->
              {% if theme_navbar_pagenav %}
                {% include "navbartoc.html" %}
              {% endif %}
            {% endblock %}
            <!-- {% if theme_navbar_sidebarrel %}
              {% block sidebarrel %}
                {% include "relations.html" %}
              {% endblock %}
            {% endif %} -->
            {% block navbarextra %}
            {% endblock %}
          </ul>

            <!-- {% block navbarsearch %}
              {% include "navbarsearchbox.html" %}
            {% endblock %} -->

        </div>
    </div>
  </div>
