diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-08-27 22:38:42 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-08-27 22:38:42 +0800 |
commit | 3c6cb7f29631dfcdd954e7cbd5d2370efe7eb827 (patch) | |
tree | d374e090981dda28452dbd13400e377b9cc06277 /layouts/partials/header.html |
🎉 first commit
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..a8a555a --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,13 @@ +<div class="logo-wrapper"> + <a href="/" class="logo">{{ .Site.Title }}</a> +</div> + +<nav class="site-navbar"> + <ul id="menu" class="menu"> + {{ range .Site.Menus.main -}} + <li class="menu-item"> + <a class="menu-item-link" href="{{ .URL }}">{{ .Name }}</a> + </li> + {{- end }} + </ul> +</nav>
\ No newline at end of file |