Sha256: b7c3b817ddbaeccf26210e008c0613b4a93bff0f8eff6eea8b0f9baf9ea52a90

Contents?: true

Size: 1.62 KB

Versions: 10

Compression:

Stored size: 1.62 KB

Contents

{% assign lang = page.lang %}
{% assign dataToShow = site.data.header[lang].data %}
{%- assign CustomColor = site.data.theme.colors -%}

<!-- header starts -->
<header id="header">
    <!-- navigation startss -->
    <nav class="navbar navbar-expand-lg navbar-dark" style="background: {{CustomColor.navbarBg}}">

        <a class="navbar-brand" href="/" title="{{dataToShow.tooltip}}">
            <img src="{{ site.favicon | relative_url }}" alt="{{site.name}}-logo" style="width:35px; height:35px;">
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
            <i class="bi bi-list bi-2x bars"></i>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link" href="/blog">Blog</a>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" aria-haspopup="true"
                        aria-expanded="false">
                        More
                    </a>
                    <div class="dropdown-menu" aria-labelledby="navbarDropdown">

                        {% for item in dataToShow.more %}
                        <a class="dropdown-item" href="{{item.url}}">
                            {{item.name}}
                        </a>
                        {% endfor %}

                    </div>
                </li>
            </ul>
        </div>
    </nav>
    <!-- navbar close -->
</header>
<!-- header close -->

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
word-games-theme-0.8.4 _includes/header/index.html
word-games-theme-0.8.3 _includes/header/index.html
word-games-theme-0.8.2 _includes/header/index.html
word-games-theme-0.8.1 _includes/header/index.html
word-games-theme-0.8.0 _includes/header/index.html
word-games-theme-0.7.9 _includes/header/index.html
word-games-theme-0.7.8 _includes/header/index.html
word-games-theme-0.7.7 _includes/header/index.html
word-games-theme-0.7.6 _includes/header/index.html
word-games-theme-0.7.5 _includes/header/index.html