summaryrefslogtreecommitdiffstats
path: root/examples/blog/layouts/partials/navbar.html
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2014-09-02 13:05:20 -0600
committerspf13 <steve.francia@gmail.com>2014-09-02 17:18:22 -0400
commitefc98a3b1fee0069a162801dbdfd8d0694c7a75e (patch)
tree1562d0e1203ee2f23408aa7fab87c91a73770e53 /examples/blog/layouts/partials/navbar.html
parent05102f1b79b94b88b60dfcfc00f66cb30ca912c7 (diff)
Update example blog to Hugo v0.12 conventions
- Convert config.yaml to config.toml to follow what "hugo new site /path/to/site" generates - Rename layouts/chrome to layouts/partials - Convert "template" calls to "partial" calls - Minor revisions to the text in example content - Upgrade Bootswatch Yeti theme (3.1.1+1 → to 3.2.0+3) - Upgrade Font Awesome (4.0.3 → 4.2.0) - Upgrade jQuery (1.11.0 → 1.11.1)
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