diff options
author | uPagge <git@upagge.ru> | 2021-03-03 11:51:31 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-03-03 11:51:31 +0300 |
commit | c6a02b03e1744f36dd4ffe31e710ff22805b37df (patch) | |
tree | 2c9fa38edc7788613ed652dc4c73651ea7486499 /layouts/partials | |
parent | cac1acfdb706ca5ae46c30cbdbfff1e773b12964 (diff) |
промежуточный вариант
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/single/footer.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html index fbccf93..b57cc45 100644 --- a/layouts/partials/single/footer.html +++ b/layouts/partials/single/footer.html @@ -3,12 +3,13 @@ <div class="post-info-share"> {{- partial "plugin/share.html" . -}} + <a class="button button-big button-red" style="margin-top: 20px">Поблагодарить автора</a> </div> {{- $authorName := $params.author | default .Site.Author.name | default " " -}} {{- if and (not (eq $authorName " ")) (not (eq $pageTheme "hero")) -}} {{ $author := index .Site.Data.authors $authorName }} -<div class="footer-post-author" {{- if not $author.ps -}} style="border-radius: 10px;border-bottom: solid 2px #ececec" {{- end -}}> +<div class="footer-post-author" {{- if not $author.ps -}} style="border-radius: 10px;border-bottom: solid 2px #DDD" {{- end -}}> <div class="author-avatar"><a href="{{ with $author.link }} {{- . | safeHTML -}}{{ end }}" target="_blank"><img alt="" src="{{ with $author.avatar }} {{- . | safeHTML -}}{{ end }}" border="0"></a></div> <div class="author-info"> <div class="name"><a href="{{ with $author.link }} {{- . | safeHTML -}}{{ end }}" target="_blank">{{ $author.full_name }}</a></div> |