diff options
| author | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-05-13 22:39:58 -0400 |
|---|---|---|
| committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-05-13 22:39:58 -0400 |
| commit | b34e09f8fe1011963934dbf40dc92f0b258592ca (patch) | |
| tree | c99974d127163b266f107d5c9c5e1f126a233087 /layouts/partials/header.html | |
| parent | 24e058c3eb3a278023c4ecee7efa9a73774ded0b (diff) | |
more layout work
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d0930a3..4a9ae70 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html | |||
| @@ -1,8 +1,18 @@ | |||
| 1 | <header> | 1 | <header> |
| 2 | <h1>{{ .Title | default .Site.Title }}</h1> | 2 | <div class="container"> |
| 3 | <nav> | 3 | <nav> |
| 4 | {{ range .Site.Menus.main }} | 4 | <ul> |
| 5 | <a href="{{ .URL }}">{{ .Name }}</a> | 5 | <li> |
| 6 | {{ end }} | 6 | <strong> |
| 7 | </nav> | 7 | {{ .Site.Title }} |
| 8 | </strong> | ||
| 9 | </li> | ||
| 10 | </ul> | ||
| 11 | <ul> | ||
| 12 | {{ range .Site.Menus.main }} | ||
| 13 | <li><a href="{{ .URL }}">{{ .Name }}</a></li> | ||
| 14 | {{ end }} | ||
| 15 | </ul> | ||
| 16 | </nav> | ||
| 17 | </div> | ||
| 8 | </header> \ No newline at end of file | 18 | </header> \ No newline at end of file |
