Sha256: 39c73d4a5c54fb80723cb14f49185e637729002d0709379ed7be4230eb838b3a
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 KB
Contents
<header class="header"> <div class="main clearfix"> <div class="logo"> {%- include svg/logo.svg -%} {%- assign __path = site.paths.root | default: site.data.variables.default.paths.root -%} {%- include snippets/get-nav-url.html -%} {%- if site.title -%} <a title="{%- if site.description -%}{{ site.description }}{%- endif -%}" href="{{ __return }}">{{ site.title }}</a> {%- endif -%} </div> {%- if site.data.navigation.header -%} <nav> <ul> {%- for _item in site.data.navigation.header -%} {%- assign __path = _item.url -%} {%- include snippets/get-nav-url.html -%} {%- assign _nav_url = __return -%} {%- assign __path = page.url -%} {%- include snippets/get-nav-url.html -%} {%- assign _page_url = __return -%} {%- assign __locale = _item.titles -%} {%- include snippets/locale-to-string.html -%} {%- if _nav_url == _page_url -%} <li class="active"><a href="{{ _nav_url }}">{%- if _item.title -%}{{ _item.title }}{%- else -%}{{ __return }}{%- endif -%}</a></li> {%- else -%} <li><a href="{{ _nav_url }}">{%- if _item.title -%}{{ _item.title }}{%- else -%}{{ __return }}{%- endif -%}</a></li> {%- endif -%} {%- endfor -%} </ul> </nav> {%- endif -%} </div> </header>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-text-theme-2.0.1 | _includes/header.html |
jekyll-text-theme-2.0.0 | _includes/header.html |