Sha256: e57c02c692192794532319274c40138202bfbdfa2107e821c845af88c9e3eb2d

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 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 hover-white dim link f2 f3-l fw4 mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
{% else %}
<a class="black hover-black link f2 f3-l fw4 mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
{% endif %}

  <div class="flex-l items-center mt3 mt0-l">
    <nav class="nowrap overflow-x-auto">
    {% for link in site.data.theme.navigation.main %}
      {% if link.url contains 'http' %}
        {% assign domain = '' %}
      {% elsif link.url contains 'mailto' %}
        {% assign domain = '' %}
      {% else %}
        {% assign domain = site.url | append: site.baseurl %}
      {% endif %}
      <a href="{{ domain }}{{ link.url }}" class="{% if page.header.navigation == 'fancy' %}white hover-white dim{% else %}black hover-black{% endif %} link f4 f5-l fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a>
    {% endfor %}
    </nav>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minimal-jekyll-theme-0.2.0 _includes/navigation.html
minimal-jekyll-theme-0.1.4 _includes/navigation.html