{{ $colorScheme := default "dark" .Site.Params.header.colorScheme }}

<div>
    <img class="img-fluid" src="/img/banner1.jpg" alt="">
</div>

<header class="blog-header">

    <nav class="navbar navbar-expand-md navbar-{{ $colorScheme }} py-3">
        <div class="container-fluid ">
            <a class="navbar-brand" href="{{ .Site.BaseURL | relLangURL }}">
                {{ partial "brand" . }}
            </a>
            {{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
            {{ if gt (len $taxonomy) 0 }}

            {{ if eq $taxonomyname "categories" }}
            <h3 class="post-block-title my-4">
                <span></span>
            </h3>
            {{ else }}
            <!-- <h3 class="post-block-title my-4">
                <span></span>
            </h3> -->
            {{ end }}
            <div class="collapse navbar-collapse justify-content-end" id="navbarNav">
                <ul class="navbar-nav mb-2 mb-lg-0">
                    {{ range $name, $value := $taxonomy }}
                    <li class="nav-item" role="presentation">
                        <a class="nav-link"
                            href="{{ printf  $taxonomyname | relLangURL }}/{{ $name | urlize }}/">{{$name }}</a>
                    </li>
                    {{ end }}
                </ul>
            </div>
    </nav>
    {{ end }}
    {{ end }}
</header>