Sha256: 17da5f0998bad53af661a394a39854f6e18f2637e7c273a47f6881b9699e6860

Contents?: true

Size: 1.26 KB

Versions: 9

Compression:

Stored size: 1.26 KB

Contents

<header class="site-header">

    <!-- Logo and title -->
	<div class="branding">
        {% if site.avatar %}
		<a href="{{ '/' | relative_url }}">
			<img alt="logo img" class="avatar" src="{{ site.avatar | relative_url }}" />
		</a>
        {% endif %}

		<h1 class="site-title">
			<a aria-label="{{ site.title }}" href="{{ '/' | relative_url }}">
        {{ site.title }}
      </a>
		</h1>
	</div>

    <!-- Toggle menu -->
    <nav class="clear">
    <a aria-label="pull" id="pull" class="toggle" href="#">
    <i class="fa fa-bars fa-lg"></i>
    </a>

    <!-- Menu -->
    <ul class="hide">
        {% assign name_page = "" %}

        {% for page in site.pages %}
            {% unless page.title == null or page.hide or name_page contains page.title %}
            <li class="separator"> | </li>
            <li>
                <a class="clear" aria-label="{{ page.title }}" title="{{ page.title }}" href="{{ page.url | relative_url }}">
                    {% if page.icon %} <i class="fa {{ page.icon }}" aria-hidden="true"></i>
                    {% else %} {{ page.title }} {% endif%}
                </a>
            </li>
            {% endunless %}
            {% assign name_page = page.title | append: name_page %}
        {% endfor %}
    </ul>

	</nav>
</header>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
type-on-strap-2.2.6 _includes/navbar.html
type-on-strap-2.2.5 _includes/navbar.html
type-on-strap-2.2.4 _includes/navbar.html
type-on-strap-2.2.1 _includes/navbar.html
type-on-strap-2.1.2 _includes/navbar.html
type-on-strap-2.1.0 _includes/navbar.html
type-on-strap-2.0.3 _includes/navbar.html
type-on-strap-2.0.2 _includes/navbar.html
type-on-strap-2.0.0 _includes/navbar.html