{{if .Nav}}
<div class="bg-white border-b border-creative-100">
  <div class="container mx-auto px-4 py-3 text-sm text-creative-600">
    <a class="hover:text-creative-900" href="/">首页</a>
    {{range .Nav}}
      <span class="mx-2 text-creative-300">/</span>
      <a class="hover:text-creative-900" href="/{{.Slug}}">{{.Name}}</a>
    {{end}}
  </div>
</div>
{{end}}
