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

github.com/zhe/hugo-theme-slim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index eecb26f..57204a7 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,17 +1,17 @@
<div class="header">
<h1 class="site-title"><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1>
- <p class="site-tagline">{{ .Site.Params.Subtitle }}</p>
+ <p class="site-tagline">{{ .Site.Params.Subtitle }}</p>
<div class="nav">
<a class="nav-btn" href="#">
<span class="ci ci-burger"></span>
</a>
<ul class="nav-list">
- {{ with .Site.Params.GithubID }}
- <li><a href="https://github.com/{{.}}">Github</a></li>{{ end }}
- {{ with .Site.Params.TwitterID }}
- <li><a href="https://twitter.com/{{.}}">Twitter</a></li>{{ end }}
- {{ with .Site.Params.LinkedInID }}
+ {{ range .Site.Menus.main }}
+ <li><a href="{{ .Url }}">{{ .Name }}</a></li>
+ {{end}} {{ with .Site.Params.GithubID }}
+ <li><a href="https://github.com/{{.}}">Github</a></li>{{ end }} {{ with .Site.Params.TwitterID }}
+ <li><a href="https://twitter.com/{{.}}">Twitter</a></li>{{ end }} {{ with .Site.Params.LinkedInID }}
<li><a href="http://linkedin.com/in/{{.}}">LinkedIn</a></li>{{ end }}
</ul>
</div>
-</div>
+</div> \ No newline at end of file