_includes/header.html in jekyll-theme-handwritten-4.3.5 vs _includes/header.html in jekyll-theme-handwritten-4.3.6
- old
+ new
@@ -1,33 +1,33 @@
-<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>
+<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>