publiccode.si/site/layouts/partials/nav.html

53 lines
2.7 KiB
HTML
Raw Normal View History

2017-03-16 00:00:56 +01:00
{{ "<!-- NAVIGATION -->" | safeHTML }}
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
{{ "<!-- Brand and toggle get grouped for better mobile display -->" | safeHTML }}
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
{{ with .Site.Params.navigation.brand }}
2017-08-16 17:17:43 +02:00
<a class="page-scroll" href="#page-top">
2017-06-21 18:01:46 +02:00
<div class="logo">
<img src="/img/logo.svg" alt="Logo of the campaign" />
2017-06-21 18:01:46 +02:00
<span class="logo-blue">Public Money</span>
<span class="logo-green">Public Code</span>
</div>
2017-08-16 17:17:43 +02:00
</a>
2017-06-19 15:40:46 +02:00
<!--<a class="navbar-brand page-scroll" href="#page-top">{{ . | markdownify }}</a>-->
2017-03-16 00:00:56 +01:00
{{ end }}
</div>
{{ "<!-- Collect the nav links, forms, and other content for toggling -->" | safeHTML }}
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" href="#about">{{ .Site.Params.navigation.links.about }}</a>
</li>
<li>
<a class="page-scroll" href="#arguments">{{ .Site.Params.navigation.links.arguments }}</a>
2017-03-16 00:00:56 +01:00
</li>
<li>
2017-03-20 13:37:30 +01:00
<a class="page-scroll" href="#resources">{{ .Site.Params.navigation.links.resources }}</a>
2017-03-16 00:00:56 +01:00
</li>
2017-03-23 19:40:40 +01:00
<li>
2017-08-16 12:13:09 +02:00
<a class="page-scroll" href="#action">{{ .Site.Params.navigation.links.action }}</a>
2017-03-23 19:40:40 +01:00
</li>
2017-03-17 12:20:34 +01:00
<li>
<a class="page-scroll" href="#spread">{{ .Site.Params.navigation.links.spread }}</a>
</li>
2017-03-16 00:00:56 +01:00
<li>
<a class="page-scroll" href="#contact">{{ .Site.Params.navigation.links.contact }}</a>
</li>
<li>
<a class="page-scroll" href="#language" title="Change Language"><i class="fa fa-globe" aria-hidden="true" style="font-size:1.5em;vertical-align:top;"></i> {{ .Site.Params.navigation.links.language }}</a>
</li>
2017-03-16 00:00:56 +01:00
</ul>
</div>
{{ "<!-- /.navbar-collapse -->" | safeHTML }}
</div>
{{ "<!-- /.container-fluid -->" | safeHTML }}
</nav>