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

github.com/coderzh/hugo-pacman-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 693f348..06c51f2 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -28,8 +28,8 @@
{{ end }}
</div>
<p class="copyright">Powered by <a href="http://gohugo.io" target="_blank" title="hugo">hugo</a> and Theme by <a href="https://github.com/coderzh/hugo-pacman-theme" target="_blank" title="hugo-pacman-theme">hugo-pacman-theme</a> © {{ .Now.Year }}
- {{ if .Site.Params.Author }}
- <a href="{{ .Site.BaseURL }}" target="_blank" title="{{ .Site.Params.Author }}">{{ .Site.Params.Author }}</a>
+ {{ if .Site.Author.Name }}
+ <a href="{{ .Site.BaseURL }}" target="_blank" title="{{ .Site.Author.Name }}">{{ .Site.Author.Name }}</a>
{{ else }}
<a href="{{ .Site.BaseURL }}" title="{{ .Site.Title }}">{{ .Site.Title }}</a>
{{ end }}