mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 22:31:13 +00:00
cf7318a057
safeHtml → safeHTML, .Site.BaseUrl → .Site.BaseURL (Hmm... How did we miss that earlier?)
22 lines
1 KiB
HTML
22 lines
1 KiB
HTML
<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>
|