Sha256: c7525cd70ec4a68abaaed2bf73f3cec664412764c0430f2b315dc85785ef4210
Contents?: true
Size: 1.27 KB
Versions: 3
Compression:
Stored size: 1.27 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 }}" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aemi-1.0.19 | _includes/header.html |
aemi-1.0.18 | _includes/header.html |
aemi-1.0.17 | _includes/header.html |