vanilla-hugo/layouts/partials/header.html

21 lines
892 B
HTML
Raw Normal View History

<div class="container">
2023-01-01 01:28:18 -08:00
<h1>{{ .Site.Title }}</h1>
</div>
<nav>
<div class="container">
<a href="{{ .Site.Home.Permalink }}">{{ i18n "home" }}</a>
2023-01-01 01:28:18 -08:00
<a href="{{ relref . "about" }}">{{ i18n "about" }}</a>
{{ with .Site.Params.githubUsername }}
<a href="https://github.com/{{ . }}">GitHub</a>
{{ end }}
{{ if .Site.Params.resumeStaticFile }}
<a href="{{ absLangURL .Site.Params.resumeStaticFile }}">{{ i18n "resume" }}</a>
{{ end }}
<a href="{{ site.Taxonomies.tags.Page.Permalink }}">{{ i18n "tags" }}</a>
<a href="{{ site.Taxonomies.series.Page.Permalink }}">{{ i18n "series" }}</a>
<a href="{{ relref . "favorites" }}">{{ i18n "favorites" }}</a>
<a href="{{ relref . "search" }}">{{ i18n "search" }}</a>
2023-01-01 01:28:18 -08:00
<a href="{{ relref . "blog" }}">{{ i18n "allPosts" }}</a>
</div>
</nav>