Sha256: 6f1abb6da5ea563d41e45a22fa621e939a4a6949d66beb1425fa6aab9afbdcd8
Contents?: true
Size: 1.14 KB
Versions: 3
Compression:
Stored size: 1.14 KB
Contents
<header id="nav-header" class="border-dark border-left-0 border-right-0"> <div id="nav-container" class="container position-relative d-flex justify-content-between align-items-center"> {% assign default_paths = site.pages | map: "path" %} {% assign page_paths = site.header_pages | default: default_paths %} <a class="h4 m-0 text-dark" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a> {% if page_paths %} <nav id="nav-menu-container" class="text-right navbar-light"> <input type="checkbox" id="nav-trigger" class="d-none"/> <label for="nav-trigger" aria-label="button" class="m-2 d-inline-block d-md-none navbar-toggler-icon"> </label> <div id="nav-menu" class="d-none d-md-block"> {% for path in page_paths %} {% assign my_page = site.pages | where: "path", path | first %} {% if my_page.title %} <a class="text-dark ml-3 ml-md-0 p-2 d-block d-md-inline-block" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a> {% endif %} {% endfor %} </div> </nav> {% endif %} </div> </header>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
minima-reboot-1.0.33 | _includes/header.html |
minima-reboot-1.0.32 | _includes/header.html |
minima-reboot-1.0.31 | _includes/header.html |