Sha256: 2a292ec1ce818c7a9534c89611c95114e65c35ab3f4152982e4d222f07d4724e

Contents?: true

Size: 1.64 KB

Versions: 41

Compression:

Stored size: 1.64 KB

Contents

<!-- nav bar code  -->

{% assign lang = page.lang | default: "en" %} {% assign siteData = site.data.header[lang].data
  %} {% assign featureData = page.fileName %} {% assign folder = page.folderName
  %} {% assign Data= site.data[folder][lang][file] %}
  <nav class="appscms-navbar">
    <div class="row w-100 h-100">
      <div class="col-11 mx-auto">
      <div class="appscms-navbar-nav">
        {%- if siteData.navbarBrandLogoSvg -%}
        <a href="/" aria-label="home-page"> {{siteData.navbarBrandLogoSvg}} </a>
        {%- elsif siteData.navbarBrandText -%}
        <span> {{siteData.navbarBrandText}}
        {%- else -%}
        {%- endif -%}
        {%- if siteData.navItems -%}
        <div class="appscms-navbar-nav-links">
        {%- for item in siteData.navItems -%}
        <a class="appscms-nav-link" href="{{item.url}}">{{item.name}}</a>
        {%- endfor -%}
        </div>
        {%- endif -%}
        <div id="hamburger" data-open="false" class="hamburger">
          <svg
          style="font-size:25px"
            stroke="currentColor"
            fill="currentColor"
            stroke-width="0"
            viewBox="0 0 512 512"
            aria-hidden="true"
            focusable="false"
            height="50px"
            width="1em"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              fill="none"
              stroke-linecap="round"
              stroke-miterlimit="10"
              stroke-width="48"
              d="M88 152h336M88 256h336M88 360h336"
            ></path>
          </svg>
        </div>
      </div>
      </div>
    </div>
  </nav>


Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
appscms-tools-theme-4.1.3 _includes/appscms/navbars/navbar.html