Sha256: f8d56ea71fc2173231bdd54d34dbced5e810d3a98b619e401e48c2099884efab
Contents?: true
Size: 1.29 KB
Versions: 18
Compression:
Stored size: 1.29 KB
Contents
<header class="site-header" role="banner"> {%- include theme_selector.html -%} <div class="wrapper header-container"> {%- 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 }}">{{ site.title | escape }}</a> {%- if site.tagline -%} <span class="tagline">{{ site.tagline }}</span> {%- endif -%} <!-- <img class="logo" src="{{- "assets/theme-assets/theme-images/logo.svg" | relative_url -}}"> --> </div> {%- if page_paths -%} <nav class="wrapper site-nav"> <input type="checkbox" id="nav-trigger" class="nav-trigger"> <label for="nav-trigger"> <span class="menu-icon"> <img src="{{- "assets/theme-assets/theme-images/menu.svg" | relative_url -}}" alt="menu-icon"> </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 -%} </header>
Version data entries
18 entries across 18 versions & 2 rubygems