diff options
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 |