Sha256: a7ad61ae1b543593c6e9a78fdd2e90b91daba6541e53f5c86a520dc97b70253b
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 KB
Contents
{% assign editorial = site.posts | where: 'layout', 'editorial' | first %} <nav class="navbar navbar-expand-lg navbar-light bg-light d-print-block" role="navigation" aria-label="{{ site.i18n.menu.title }}"> <a class="navbar-brand" href=""> <<<<<<< HEAD {{ site.title }} ======= {% include_cached logo.html %} >>>>>>> ab27eaaed5357d624edd12ea22bc4e88401b5a1d </a> {% comment %} TODO: Add CSS-only hamburger menu. {% endcomment %} <ul class="navbar-nav d-print-none"> {%- for item in site.i18n.menu.items -%} {% comment %} This makes it hard to just cache the whole navbar, but we prefer to mark the active item in code rather than with JS. {% endcomment %} {% assign url = item.url | liquify %} <li class="nav-item"> <<<<<<< HEAD <a class="nav-link{% if page.url == url %} active{% endif %}" href="{{ url }}"> {{ item.text }} {%- if page.url == url -%} ======= <a class="nav-link{% if page.url == item.href %} active{% endif %}" href="{{ item.href }}"> {{ item.title }} {%- if page.url == item.href -%} >>>>>>> ab27eaaed5357d624edd12ea22bc4e88401b5a1d <span class="sr-only"> {{ site.i18n.menu.active | default: '(current)' }} </span> {%- endif -%} </a> </li> {%- endfor -%} </ul> </nav>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
editorial-autogestiva-jekyll-theme-0.2.8 | _includes/navbar.html.orig |
editorial-autogestiva-jekyll-theme-0.2.7 | _includes/navbar.html.orig |