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


<header class="blog-header">
    <!--
    <nav class="navbar navbar-expand-md navbar-{{ $colorScheme }} py-3">
        <div class="container-fluid justify-content-center">
            <a class="navbar-brand" href="{{ .Site.BaseURL | relLangURL }}">
                {{ partial "brand" . }}
            </a>
        </div>
    </nav>
-->

    <nav class="navbar navbar-expand-sm navbar-dark bg-dark flex-column align-items-stretch"
        style="padding-top: 0;padding-bottom: 0;">
        <div class="d-flex justify-content-between">
            <a class="navbar-brand mx-sm-auto mr-auto" href="{{ .Site.BaseURL | relLangURL }}">
                {{ partial "brand" . }}
            </a>

            <button class="navbar-toggler" data-toggle="collapse" data-bs-toggle="collapse" data-bs-target="#navbarMenu"
                data-target="#navbarMenu" aria-controls="navbarMenu" aria-expanded="false"
                aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>





        </div>
        <div class="collapse navbar-collapse w-100 sticky-top justify-content-center" id="navbarMenu"
            style="background:#e47140;">
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a href="/tags/ai/" class="nav-link" style="color: white;">科技新聞</a>
                </li>
                <li class="nav-item">
                    <a href="/categories/影音新聞/" class="nav-link" style="color: white;">影音新聞</a>
                </li>
                <li class="nav-item">
                    <a href="/tags/生活/" class="nav-link" style="color: white;">民生消費</a>
                </li>
                <li class="nav-item">
                    <a href="/tags/esg/" class="nav-link" style="color: white;">ESG新聞</a>
                </li>
                 <li class="nav-item">
                    <a href="/features/" class="nav-link" style="color: white;">專題報導</a>
                </li>
                <li class="nav-item">
                    <a href="/free-pr-service/" class="nav-link" style="color: white;">新聞發布服務</a>
                </li>
            </ul>
        </div>
    </nav>
</header>