Sha256: 75634ce21a45a40aeb80d251dbe232a46531092efaafdbdaecd185bf96e967a0

Contents?: true

Size: 1.25 KB

Versions: 9

Compression:

Stored size: 1.25 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" rel="author" href="{{ '/' | relative_url }}">
            {% if site.logo %}
                <img src="{{ '/assets/images/logo/' | append: site.logo | relative_url }}" alt="{{ site.title | escape }}" >
            {% 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

9 entries across 9 versions & 1 rubygems

Version Path
aemi-1.0.9 _includes/header.html
aemi-1.0.8 _includes/header.html
aemi-1.0.7 _includes/header.html
aemi-1.0.6 _includes/header.html
aemi-1.0.5 _includes/header.html
aemi-1.0.4 _includes/header.html
aemi-1.0.3 _includes/header.html
aemi-1.0.2 _includes/header.html
aemi-1.0.1 _includes/header.html