aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorLuiz F. A. de Prá <rawarkanis@gmail.com>2018-02-28 22:38:59 -0300
committerLuiz F. A. de Prá <rawarkanis@gmail.com>2018-02-28 22:38:59 -0300
commit4db982bb015eddb624e4c7f5776596b166dbaae5 (patch)
tree7c54044af415f43f3f2ecb2dc44ec01628e31893 /layouts/partials/header.html
downloadhugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.tar.gz
hugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.tar.bz2
hugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.zip
Initial files
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..caa698f
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,14 @@
+<nav class="navigation">
+ <section class="container">
+ <a class="navigation-title" href="{{ "/" | absURL }}">
+ {{ .Site.Title }}
+ </a>
+ <ul class="navigation-list float-right">
+ {{ range sort .Site.Menus.main }}
+ <li class="navigation-item">
+ <a class="navigation-link" href="{{ .URL }}">{{ .Name }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ </section>
+</nav>