Sha256: 5323a846ed85aa8d75098a1b7c8f49ad2948e27ef3546e8be247ae2f53360c3b

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

<header class="header clearfix">
    <nav id="kHeaderNav" class="navbar navbar-expand-lg container-fluid">
        <a class="navbar-brand {% if page.url == '/' %}navbar-brand-active{% endif %}" href="/index.html" id="KontactGlobalLogo">
            <img src="{% if site.app_icon %}{{ site.app_icon }}{% else %}/assets/img/app_icon.png{% endif %}">
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse"
                data-target="#kMainNavbar" aria-controls="kMainNavbar"
                aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        {% unless site.not_made_by_kde %}
        <div id="KMadeByKDE">
            <a class="navbar-brand" id="KGlobalLogo" href="https://www.kde.org"></a>
            <span>Made by KDE</span>
        </div>
        {% endunless %}
        <div class="collapse navbar-collapse" id="kMainNavbar">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item">
                    <a class="nav-link {% if page.url == '/' %}active{% endif %}"
                       href="/" aria-haspopup="true" aria-expanded="false">{{ site.title }}</a>
                </li>

                {% if site.navigation.top %}
                    {% assign sorted = site.navigation.top %}
                {% else %}
                    {% assign sorted = site.pages | sort: "sorted" %}
                {% endif %}

                {% for nav in sorted %}
                  {% if nav.title and (nav.title != "Changelog" or (site.changelogs | size) != 0) %}
                  <li class="nav-item">
                      <a class="nav-link {% if page.url == nav.url %}active{% endif %}" href="{{ nav.url }}">{{ nav.title }}</a>
                  </li>
                  {% endif %}
                {% endfor %}
            </ul>
        </div>
    </nav>
</header>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-kde-theme-0.3.2 _includes/header.html