first tries to create a separate subpage, e.g. for showing signatures
parent
cd0a60d36b
commit
dbd030e77a
|
@ -16,6 +16,7 @@ DefaultContentLanguage = "en"
|
|||
brand = "Public Money, Public Code"
|
||||
|
||||
[params.navigation.links]
|
||||
start = "Start"
|
||||
about = "About"
|
||||
reasons = "Reasons"
|
||||
resources = "Resources"
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body id="page-top">
|
||||
{{ partial "navpage.html" . }}
|
||||
|
||||
{{ partial "404.html" . }}
|
||||
|
||||
{{ partial "language.html" . }}
|
||||
|
||||
{{ partial "legal.html" . }}
|
||||
|
||||
{{ partial "sharecolumn.html" . }}
|
||||
|
||||
{{ partial "js.html" . }}
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,30 @@
|
|||
{{ "<!-- NAVIGATION ON PAGES -->" | 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 }}
|
||||
<a class="navbar-brand page-scroll" href="#page-top">{{ . | markdownify }}</a>
|
||||
{{ 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 href="{{ "/" | relLangURL }}">{{ .Site.Params.navigation.links.start }}</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>
|
||||
</ul>
|
||||
</div>
|
||||
{{ "<!-- /.navbar-collapse -->" | safeHTML }}
|
||||
</div>
|
||||
{{ "<!-- /.container-fluid -->" | safeHTML }}
|
||||
</nav>
|
Loading…
Reference in New Issue