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

github.com/Y4er/hugo-theme-easybook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 eab9527..f46fb0a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,11 +1,11 @@
<div class="wrapper">
<div id="sidebar-toggle">TOC</div>
{{/* 首页左上角作者名 */}}
- <a class="site-title" href="{{ "." | absURL }}">{{ .Params.author }}</a>
+ <a class="site-title" href="{{ "." | absURL }}">{{ .Site.Params.author }}</a>
{{/* 右上角导航 */}}
<nav class="site-nav">
{{ range .Site.Menus.main -}}
<a class="page-link" href="{{ .URL | safeURL }}">{{ .Name }}</a>
{{- end }}
</nav>
-</div> \ No newline at end of file
+</div>