Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/layouts/partials/navbar.html')
-rw-r--r--examples/blog/layouts/partials/navbar.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/blog/layouts/partials/navbar.html b/examples/blog/layouts/partials/navbar.html
new file mode 100644
index 000000000..c4ef82334
--- /dev/null
+++ b/examples/blog/layouts/partials/navbar.html
@@ -0,0 +1,22 @@
+ <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
+ <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="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a>
+ </div>
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
+ <ul class="nav navbar-nav">
+ <li><a href="/post/">Post Index</a></li>
+ <!--
+ And here is where you'd add more links to sections, or anywhere you like.
+ <li><a href="#">About Me</a></li>
+ -->
+ </ul>
+ </div>
+ </div>
+ </nav> \ No newline at end of file