<nav class="uk-navbar-container uk-box-shadow-medium" uk-navbar uk-sticky>
    <div class="uk-navbar-left">
        <a class="uk-navbar-item uk-logo" href="/index.html"><%= config.title %></a>
        <span class="uk-navbar-item">用碎片化的时间收集碎片化的知识</span>
    </div>
    <div class="uk-navbar-right">
        <ul class="uk-navbar-nav">
            <% if (!is_home()) { %>
            <li><a href="/index.html">返回首页</a></li>
            <% } %>
            <li<% if (is_current('/categories')) { %> class="uk-active"<% } %>><a href="/categories">知识分类</a></li>
            <li<% if (is_current('/tags')) { %> class="uk-active"<% } %>><a href="/tags">知识标签</a></li>
            <li<% if (is_archive()) { %> class="uk-active"<% } %>><a href="/archives">归档文章</a></li>
        </ul>
    </div>
</nav>
