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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <git@upagge.ru>2021-03-13 16:36:13 +0300
committeruPagge <git@upagge.ru>2021-03-13 16:36:13 +0300
commit85bbb977686c5fdf8f62ca9c0829eb3437e843dc (patch)
treead148da8ba0a30c8adb884ce3851a6e8a42dbf24 /layouts/posts
parent45dc8f142641c3c92b7dce9470ae7917168cd97d (diff)
author-post fix
Diffstat (limited to 'layouts/posts')
-rw-r--r--layouts/posts/single.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 2c35ae4..a71ae11 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -222,7 +222,6 @@
{{- end -}}
{{ if eq ($params.authorHidden | default false) false }}
- {{- $authorName := $params.author | default .Site.Author.name | default " " -}}
{{- if and (not (eq $authorName " ")) (not (eq $pageTheme "hero")) -}}
{{- with $author -}}
<div class="footer-post-author">
@@ -290,7 +289,7 @@
{{- if $authorComment -}}
{{- with $author -}}
<div class="author-comment">
- <div class="author-avatar" style="float: left"><a href="{{ with .link }} {{- . | safeHTML -}}{{ end }}" target="_blank"><img alt="" src="{{ with .avatar }} {{- . | safeHTML -}}{{ end }}" border="0"></a></div>
+ <div class="author-avatar author-avatar-comment" style="float: left"><a href="{{ with .link }} {{- . | safeHTML -}}{{ end }}" target="_blank"><img alt="" src="{{ with .avatar }} {{- . | safeHTML -}}{{ end }}" border="0"></a></div>
<div class="name">{{ .full_name }}</div>
<div class="author-comment-text">{{ $authorComment }}</div>
</div>