mirror of
https://github.com/andrewgioia/blog.git
synced 2024-12-23 02:39:55 +00:00
17 lines
613 B
HTML
17 lines
613 B
HTML
<header>
|
|
<h1>
|
|
<a href="/" class="arrow back">{{ .Site.Title }}</a>
|
|
{{ if (eq .Page.Kind "term") }}
|
|
<span class="name">/tags</span><!--
|
|
--><span class="slug">/{{ .Data.Term }}</span>
|
|
{{ else }}
|
|
<span class="name">/{{ cond (ne .Type "page") .Type .Params.base }}</span><!--
|
|
--><span class="slug">{{ with .Params.slug }}/{{ . }}{{ end }}</span>
|
|
{{ end }}
|
|
</h1>
|
|
<nav>
|
|
<a href="/posts" class="arrow">Posts</a>
|
|
<a href="/thoughts" class="arrow">Thoughts</a>
|
|
<a href="/about" class="arrow">About</a>
|
|
</nav>
|
|
</header> |