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

Version Path
jekyll-theme-doodle-5.2.2 _includes/header.html
jekyll-theme-doodle-5.2.1 _includes/header.html
jekyll-theme-doodle-5.2.0 _includes/header.html
jekyll-theme-doodle-5.1.9 _includes/header.html
jekyll-theme-doodle-5.1.8 _includes/header.html
jekyll-theme-doodle-5.1.7 _includes/header.html
jekyll-theme-doodle-5.1.6 _includes/header.html
jekyll-theme-doodle-5.1.5 _includes/header.html
jekyll-theme-doodle-5.1.3 _includes/header.html
jekyll-theme-doodle-5.1.2 _includes/header.html
jekyll-theme-doodle-5.1.1 _includes/header.html
jekyll-theme-doodle-5.1.0 _includes/header.html
jekyll-theme-doodle-5.0.0 _includes/header.html
jekyll-theme-doodle-4.5.0 _includes/header.html
jekyll-theme-doodle-4.4.2 _includes/header.html
jekyll-theme-doodle-4.4.1 _includes/header.html
jekyll-theme-doodle-4.4.0 _includes/header.html
jekyll-theme-handwritten-4.3.6 _includes/header.html