Sha256: f192217986029d57bf48e16e48d4ebffa9766a76f0c28014c2aa4d1a3f118d5c
Contents?: true
Size: 1.87 KB
Versions: 2
Compression:
Stored size: 1.87 KB
Contents
{% assign items = site.data.navigation | where:'show', true %} <nav class="navbar navbar-expand-lg navbar-light {{ include.class | default: 'mb-3' }}"> <div class="container-lg"> <a href="/" class="navbar-brand infotorg-developer-logo" > <img src="assets/images/infotorg-developer.png" srcset="assets/images/infotorg-developer@2x.png 2x, assets/images/infotorg-developer@3x.png 3x" width="232" height="40" alt="infotorg developer" /> </a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation" > <span class="navbar-toggler-icon"></span> </button> <div class="d-none d-lg-block py-4"> {% include title.html %} </div> <div id="navbarNav" class="mcollapse navbar-collapse collapse" > <ul class="navbar-nav ml-auto"> {% for item in items %} <li class="nav-item"> {% if item.link contains '://' %} {{ # External link }} {% assign item_url = item.link %} {% else %} {{ # Internal link }} {% assign item_url = item.link | prepend: site.baseurl %} {% endif %} <a href="{{ item_url }}" class="nav-link{% if page.url == item.link %} active{% endif %}" {% if item.target %}target="{{item.target}}"{% endif %} > {{ item.name }} </a> </li> {% endfor %} </ul> </div> </div> </nav>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
infotorg-api-jekyll-theme-0.1.1 | _includes/navigation.html |
infotorg-api-jekyll-theme-0.1.0 | _includes/navigation.html |