Sha256: f5e35d17e19c740d449d1c6c12105de0cbbba9c9e92a0f4ca7e4c1e65a652fc6

Contents?: true

Size: 1.24 KB

Versions: 16

Compression:

Stored size: 1.24 KB

Contents

<header class="site-header" role="banner">

    <div class="site-header-wrapper contained">
      {%- assign default_paths = site.pages | map: "path" -%}
      {%- assign page_paths = site.header_pages | default: default_paths -%}
        <a class="site-title brand" rel="author" href="{{ '/' | relative_url }}">
            {%- if site.logo -%}
                <img src="{{ site.logo | relative_url }}" alt="{{ site.title | escape }}" height="2rem">
            {%- else -%}
                {{ site.title | escape }}
            {%- endif -%}
        </a>
  
      {%- if page_paths -%}
        <nav class="site-nav">
          <input type="checkbox" id="nav-trigger" class="nav-trigger" />
          <label for="nav-trigger">
            <span class="menu-icon" data-open-text="Menu" data-close-text="Close"></span>
          </label>
  
          <div class="trigger">
            {%- for path in page_paths -%}
              {%- assign my_page = site.pages | where: "path", path | first -%}
              {%- if my_page.title -%}
              <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
              {%- endif -%}
            {%- endfor -%}
          </div>
        </nav>
      {%- endif -%}
    </div>
  </header>
  

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
aemi-1.2.10 _includes/header.html
aemi-1.2.9 _includes/header.html
aemi-1.2.8 _includes/header.html
aemi-1.2.7 _includes/header.html
aemi-1.2.6 _includes/header.html
aemi-1.2.5 _includes/header.html
aemi-1.2.4 _includes/header.html
aemi-1.2.3 _includes/header.html
aemi-1.2.2 _includes/header.html
aemi-1.2.1 _includes/header.html
aemi-1.2.0 _includes/header.html
aemi-1.1.5 _includes/header.html
aemi-1.1.4 _includes/header.html
aemi-1.1.3 _includes/header.html
aemi-1.1.2 _includes/header.html
aemi-1.1.1 _includes/header.html