diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2016-09-22 19:30:01 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2016-09-22 19:30:01 +0300 |
commit | e0c3d029de27c3b2a4ecd206e5c760717709f1d6 (patch) | |
tree | 931eb41d5d8402154b29c7488b455e4341c262ad /layouts/partials | |
parent | 41b908e4f2557ef50e7a6c9668c5358b455d45dc (diff) |
Move navigation out of main
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 21 | ||||
-rw-r--r-- | layouts/partials/header.html | 54 |
2 files changed, 75 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7ad7717..2b3837a 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,24 @@ +<div class="row"> + <div class="col-md-12"> + <nav class = "navbar navbar-default"> + <ul class="nav navbar-nav"> + <li> + <a href="https://www.iubenda.com/privacy-policy/7806631">Privacy Policy</a> + </li> + </ul> + <ul class="nav navbar-nav navbar-right"> + <li> + <a href="/copyright">Copyright 2016 Arrested DevOps</a> + </li> + <li> + + </li> + </ul> + </nav> + + </div> +</div> + {{ partial "footer_scripts" . }} </body> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5acdcdf..45d90b0 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,3 +3,57 @@ {{ partial "head.html" . }} <body lang="{{ .Site.Params.Lang }}"> + + <nav class="navbar navbar-fixed-top navbar-default" role="navigation"> + <div class="container"> + <div class="navbar-header"> + + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> + <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span> + </button> <a class="navbar-brand" href="#">{{ .Title }}</a> + </div> + + <div class="collapse navbar-collapse" id="navbar"> + <ul class="nav navbar-nav"> + <li> + <a href="#">Link</a> + </li> + <li> + <a href="#">Link</a> + </li> + </ul> + <form class="navbar-form navbar-left" role="search"> + <div class="form-group"> + <input type="text" class="form-control" /> + </div> + <button type="submit" class="btn btn-default"> + Submit + </button> + </form> + <ul class="nav navbar-nav navbar-right"> + <li> + <a href="#">Link</a> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown<strong class="caret"></strong></a> + <ul class="dropdown-menu"> + <li> + <a href="#">Action</a> + </li> + <li> + <a href="#">Another action</a> + </li> + <li> + <a href="#">Something else here</a> + </li> + <li class="divider"> + </li> + <li> + <a href="#">Separated link</a> + </li> + </ul> + </li> + </ul> + </div> + </div> + </nav> |