diff options
author | Mark Powers <mark@marks.kitchen> | 2024-10-24 08:14:08 -0500 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2024-10-24 08:14:08 -0500 |
commit | 511cbfbafde4ff463751fadf8dd15d3b7eb41cea (patch) | |
tree | 6d89005ca5c8d83481cb794581887f5943175192 /layouts/partials/header.html | |
parent | 4a7862b0f1c7cec898bfa08114819a74690d4962 (diff) |
Refactor theme usage
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..97fec62 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,13 @@ +<header id="header"> + <h1> + <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> + </h1> + + <nav> + {{ range .Site.Menus.main }} + <span class="nav-bar-item"> + <a class="link" href="{{ .URL | safeURL }}">{{ .Name }}</a> + </span> + {{ end }} + </nav> +</header> |