diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-17 17:10:16 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-17 17:10:16 +0530 |
commit | 00ad5932d73fca7ec60acf5a6fa64bab6fed0224 (patch) | |
tree | 3dda32d83083abc381780060ac3a65de29d303ef /layouts/partials/header.html |
first commit
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..d192e56 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,12 @@ +<div id="site-header"> + <h1>{{ .Site.Params.projectTitle }}</h1> + <p>{{ .Site.Params.projectDescription }}</p> + <nav> + <a href="/" class="{{ if eq .Kind "home"}}active{{ end }}">Home</a> + <a href="/releases" class="{{ if eq .Type "releases"}}active{{ end }}">Releases</a> + {{ if .Site.Params.gitURL }}<a href="{{ .Site.Params.gitURL }}">Git</a>{{ end }} + {{ range .Site.Params.extraNavLinks }} + <a href="{{ index . 1 }}" target="_blank">{{ index . 0 }}</a> + {{ end }} + </nav> +</div> |