diff options
author | uPagge <git@upagge.ru> | 2021-01-21 19:37:59 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-01-21 19:37:59 +0300 |
commit | fd51e62f2641cb59baabd2e798333e772d5ae8d5 (patch) | |
tree | ae5e04dd3111bd465b5288b23f22e4c494ff80ab /layouts/posts/single.html | |
parent | 60b36992a3344581683c80dedb7801260f0a2ada (diff) |
author
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r-- | layouts/posts/single.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index e2b753f..2f35dc2 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -31,7 +31,7 @@ {{- $image = .RelPermalink -}} {{- end -}} - {{- $authorName := $params.author.name | default .Site.Author.name | default " " -}} + {{- $authorName := $params.author | default .Site.Author.name | default " " -}} {{ $author := index .Site.Data.authors $authorName }} <div class="header-post"> @@ -51,7 +51,7 @@ <img class="hero-author-avatar" src="{{ with $author.avatar }} {{- . | safeHTML -}}{{ end }}" alt="Bruno Krebs"> <div class="profile-text-wrapper"> <h4 class="hero-author-profile-name">{{ $author.full_name }}</h4> - <h4 class="hero-author-profile-title">{{ $params.author.short_about | default $author.short_about }}</h4> + <h4 class="hero-author-profile-title">{{ $params.customAuthor.short_about | default $author.short_about }}</h4> </div> </a> |