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