Sha256: 49972053d7a2b327d99996bb48069a68f1def8109b9d002a4e0dd40c750ce594

Contents?: true

Size: 1.48 KB

Versions: 8

Compression:

Stored size: 1.48 KB

Contents

<ul class="nav nav-pills d-print-none mb-3">
  <li class="nav-item">
    <a class="nav-link {% if page.name contains 'index' %}active{% endif %}" href="{{ site.conference.location.url | prepend: site.baseurl }}">
      {{ site.data.lang[site.conference.lang].location.directions | default: "Directions" }}
    </a>
  </li>
  {% for r in site.data.program %}
    {% assign room = site.rooms | where: 'name', r.room | first %}
    <li class="nav-item">
      {% if room.hide %}
        <span class="nav-item nav-link disabled">
          {{ room.name }}
        </span>
      {% else %}
        <a class="nav-link {% if this_room.name == room.name %}active{% endif %}" href="{{ room.url | prepend: site.baseurl }}">
          {{ room.name }}
        </a>
      {% endif %}
    </li>
  {% endfor %}
  {% for room in site.rooms %}
    {% assign room_displayed = false %}
    {% for r in site.data.program %}
      {% if room.name == r.room %}
        {% assign room_displayed = true %}
        {% break %}
      {% endif %}
    {% endfor %}
    {% unless room_displayed %}
      <li class="nav-item">
        {% if room.hide or site.conference.location.hide %}
          <span class="nav-item nav-link disabled">
            {{ room.name }}
          </span>
        {% else %}
          <a class="nav-link {% if this_room.name == room.name %}active{% endif %}" href="{{ room.url | prepend: site.baseurl }}">
            {{ room.name }}
          </a>
        {% endif %}
      </li>
    {% endunless %}
  {% endfor %}
</ul>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-theme-conference-2.5.4 _includes/partials/navbar_rooms.html
jekyll-theme-conference-2.5.3 _includes/partials/navbar_rooms.html
jekyll-theme-conference-2.5.2 _includes/partials/navbar_rooms.html
jekyll-theme-conference-2.5.1 _includes/partials/navbar_rooms.html
jekyll-theme-conference-2.5.0 _includes/partials/navbar_rooms.html
jekyll-theme-conference-2.4.1 _includes/partials/navbar_rooms.html
jekyll-theme-conference-2.4.0 _includes/partials/navbar_rooms.html
jekyll-theme-conference-2.3.1 _includes/partials/navbar_rooms.html