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.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 57204a7..77c4026 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,5 +1,5 @@
<div class="header">
- <h1 class="site-title"><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1>
+ <h1 class="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
<p class="site-tagline">{{ .Site.Params.Subtitle }}</p>
<div class="nav">
<a class="nav-btn" href="#">
@@ -7,7 +7,7 @@
</a>
<ul class="nav-list">
{{ range .Site.Menus.main }}
- <li><a href="{{ .Url }}">{{ .Name }}</a></li>
+ <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 }}