Sha256: 7468d5002b6b46e5d643b727edec1dd439d6f73445d2d86aeb7d47a245938a02
Contents?: true
Size: 1.61 KB
Versions: 4
Compression:
Stored size: 1.61 KB
Contents
{% assign data = site.data.general.header %} {% assign burger_spans = 3 %} <nav class="navbar is-primary {{ data.menu.style }}" role="navigation" aria-label="main navigation"> {% if data.brand %} <div id="navbarBrand" class="navbar-brand"> {% assign link = data.brand.link %} {% include util/prepend_link.html %} <a class="navbar-item" href="{{ link }}"> {% if data.brand.image %} {% assign link = data.brand.image %} {% include util/prepend_link.html %} <img src="{{ link }}" alt="{{ data.brand.name }}"> {% endif %} </a> {% comment %} navbar-item {% endcomment %} <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarBurger"> {% for i in (1..burger_spans) %} <span aria-hidden="true"></span> {% endfor %} </a> {% comment %} navbar-burger {% endcomment %} </div> {% comment %} navbar-brand {% endcomment %} {% endif %} {% if data.menu %} <div id="navbarMenu" class="navbar-menu"> {% if data.menu.start %} <div class="navbar-start"> {% for item in data.menu.start %} {% include util/navbar_items.html %} {% endfor %} </div> {% comment %} navbar-start {% endcomment %} {% endif %} {% if data.menu.end %} {% assign dropdown_right = true %} <div class="navbar-end"> <div class="navbar-item"> {% for item in data.menu.end %} {% include util/navbar_items.html %} {% endfor %} </div> {% comment %} navbar-end {% endcomment %} {% endif %} </div> {% comment %} navbar-menu {% endcomment %} {% endif %} </nav> {% comment %} navbar {% endcomment %}
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vitrina-0.3.1 | _includes/header.html |
vitrina-0.3.0 | _includes/header.html |
vitrina-0.2.8 | _includes/header.html |
vitrina-0.2.6 | _includes/header.html |