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