{{ define "kas/_nav.htm" }}
<div class="nav-scroller py-1 mb-2">
  <nav class="nav d-flex justify-content-between" id="sonNav">
    <a class="p-2{{if eq $.currentNav "home"}} text-danger{{else}} text-dark{{end}}" href="/kas/">首页</a>
    <a class="p-2{{if eq $.currentNav "image"}} text-danger{{else}} text-dark{{end}}" href="/kas/archive/image_main">图片管理</a>
    <a class="p-2{{if eq $.currentNav "video"}} text-danger{{else}} text-dark{{end}}" href="/kas/archive/video_main">视频管理</a>
    <a class="p-2{{if eq $.currentNav "article"}} text-danger{{else}} text-dark{{end}}" href="/kas/archive/article_main">文章管理</a>
    <a class="p-2{{if eq $.currentNav "order"}} text-danger{{else}} text-dark{{end}}" href="/kas/order_main">订单管理</a>
    <a class="p-2{{if eq $.currentNav "member"}} text-danger{{else}} text-dark{{end}}" href="/kas/member_main">会员管理</a>
    <a class="p-2{{if eq $.currentNav "database_backup"}} text-danger{{else}} text-dark{{end}}" href="/kas/database_backup">数据备份</a>
    <a class="p-2{{if eq $.currentNav "setting"}} text-danger{{else}} text-dark{{end}}" href="/kas/settings">系统设置</a>
  </nav>
</div>
{{end}}