Sha256: 74ae0f08c9e203826f522fdb0a5a38262183dcb2992e2501b42e76a1f3c0a102
Contents?: true
Size: 1.61 KB
Versions: 26
Compression:
Stored size: 1.61 KB
Contents
<header id="header"> {%- if page.layout == 'blog-1' or page.layout == "post" -%} <nav class="navbar navbar-expand-lg navbar-dark py-3" style="box-shadow: 0 1px 0 0 rgb(38 38 40 / 9%); background-color: white;"> {%- else -%} <nav class="navbar navbar-expand-lg navbar-dark py-3" style="background-color: white"> {%- endif -%} {%- assign navbar = site.data.blog.nav -%} {% if navbar.navbarBrandText != "" %} <a class="navbar-brand" href="/" title="{{navbar.navbarBrandText}}">{{navbar.navbarBrandText}}</a> {% else %} <a href="/"> <img class="logo-height" loading="lazy" src="{{navbar.navbarBrandLogo}}" alt="{{navbar.navbarBrandLogo}}" style="height: 40px; width: 40px;" class="navbar-brand-image" {%- if site.crossorigin -%} crossorigin {%- endif -%}> </a> {% endif %} <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"> <i class="fas fa-bars fa-2x" style="color:#000"></i> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav ml-auto"> {%- for item in site.data.blog.nav.navItems -%} <li class="nav-item"> <a class="nav-link" href="/{{item.url}}">{{item.name}}</a> </li> {% endfor %} </ul> </div> </nav> </header>
Version data entries
26 entries across 26 versions & 1 rubygems