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

github.com/jeblister/kube.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed <jeblister@gmail.com>2018-01-13 17:42:32 +0300
committerGitHub <noreply@github.com>2018-01-13 17:42:32 +0300
commitecdfa4538946b92455383606756e93a4af2c3883 (patch)
tree17240b54b36c219be46c1e1daa9d34e0134192b3
parent223a53f483431738ddc252189a7d6d0715effbd2 (diff)
parent97173773a64c2ebd34166ac8104a4043189227b4 (diff)
Merge pull request #12 from RealOrangeOne/patch-1
Unbake project name from navigation
-rw-r--r--layouts/partials/header.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index bf22705..783aa76 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,13 +1,13 @@
<div class="show-sm">
<div id="nav-toggle-box">
<div id="nav-toggle-brand">
- <a href="/">Kube</a>
+ <a href="/">{{ .Site.Title }}</a>
</div><a data-component="toggleme" data-target="#top" href="#" id="nav-toggle"><i class="kube-menu"></i></a>
</div>
</div>
<div class="hide-sm" id="top">
<div id="top-brand">
- <a href="/" title="home">Kube</a>
+ <a href="/" title="home">{{ .Site.Title }}</a>
</div>
<nav id="top-nav-main">
<ul>
@@ -17,11 +17,13 @@
{{end}}
</ul>
</nav>
- <nav id="top-nav-extra">
+ <nav id="top-nav-extra">
<ul>
- <li>
- <a href="/account/">Account</a>
- </li>
+ {{ range .Site.Menus.extra }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Name }}</a>
+ </li>
+ {{ end }}
</ul>
</nav>
- </div> \ No newline at end of file
+ </div>