<header>
    <div class="navbar navbar-light bg-light shadow-sm">
        <div class="container d-flex justify-content-between">
            <a href="/" class="navbar-brand d-flex align-items-center">
                <img src="{{.global.host_img}}/assets/img/logo.png" height="60px">
            </a>
            <nav class="my-2 my-md-0 mr-md-3">
                <a class="p-2 {{if eq $.currentNav "home"}} text-danger{{else}} text-dark{{end}}" href="/">首页</a>
                <a class="p-2 {{if eq $.currentNav "image"}} text-danger{{else}} text-dark{{end}}"
                    href="/list/pictures-1">图片</a>
                <a class="p-2 {{if eq $.currentNav "video"}} text-danger{{else}} text-dark{{end}}"
                    href="/list/videos-2">视频</a>
                <a class="p-2 {{if eq $.currentNav "article"}} text-danger{{else}} text-dark{{end}}"
                    href="/list/articles-23">文章</a>
            </nav>
            <span>
                <a id="btnHeader" class="btn btn-sm btn-outline-danger" href="/login"><i class="fa fa-sign-in"></i>
                    注册登录</a>
            </span>
        </div>
    </div>
</header>