Sha256: ea8a94eab5b61dada72f05a8f0a5f997e2e32558722b0c7a0e67224e2b1c7ac7
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
<div class="flex-l justify-between items-center mw7 mw8-l w-100 {% if page.sidebar %}center-l{% else %}center{% endif %} pt3 pb3 pl3 pr3-ns ph4-m"> {% if page.header.navigation == 'fancy' %} <a class="white link f2 f3-l fw4 dim mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a> {% else %} <a class="black link f2 f3-l fw4 dim mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a> {% endif %} <div class="flex-l items-center"> <nav class="nowrap overflow-x-auto"> {% for link in site.data.theme.navigation.main %} {% if link.url contains 'http' or 'mailto' %} {% assign domain = '' %} {% else %} {% assign domain = site.url | append: site.baseurl %} {% endif %} {% if page.header.navigation == 'fancy' %} <a href="{{ domain }}{{ link.url }}" class="white link dim f4 f5-ns fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a> {% else %} <a href="{{ domain }}{{ link.url }}" class="black link dim f4 f5-ns fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a> {% endif %} {% endfor %} </nav> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minimal-jekyll-theme-0.1.3 | _includes/navigation.html |