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:
authorYu Yang <reyoung@126.com>2016-04-29 19:05:43 +0300
committerYu Yang <reyoung@126.com>2016-04-29 19:05:43 +0300
commit3de96fbfe189a5ebd4c9ab43015bb5f3df8ab988 (patch)
tree9108377af6d8efd41924b9bde824a1e03ab7b277
parent5fca24b764773f96c51eff163f7e9aee3ab1a239 (diff)
Change Author => author for post param
-rw-r--r--layouts/partials/article_header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/article_header.html b/layouts/partials/article_header.html
index 8b577ce..91235db 100644
--- a/layouts/partials/article_header.html
+++ b/layouts/partials/article_header.html
@@ -4,7 +4,7 @@
</h1>
<p class="article-author">By
{{ if and (isset .Params "Author") (isset .Params "AuthorHomepage") }}
- <a href="{{ .Params.AuthorHomepage }}" title="{{ .Params.Author }}">{{ .Params.Author }}</a>
+ <a href="{{ .Params.author_homepage }}" title="{{ .Params.author }}">{{ .Params.Author }}</a>
{{ else }}
<a href="{{ .Site.Params.AuthorHomepage }}" title="{{ .Site.Author.Name }}">{{ .Site.Author.Name }}</a>
{{ end }}