diff options
author | uPagge <git@upagge.ru> | 2021-03-13 19:59:24 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-03-13 19:59:24 +0300 |
commit | 6a7f08e9bf593381cc9aa5c419e3761136d91bb7 (patch) | |
tree | 7f2ce47fd7cf9a7050173e00ae19beb783f6b69b /layouts/posts | |
parent | e602abe0597707e772952452d9048f70c8f52354 (diff) |
fix post footer
Diffstat (limited to 'layouts/posts')
-rw-r--r-- | layouts/posts/single.html | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index b59d88c..6470780 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -58,7 +58,6 @@ </div> {{- end -}} - {{- /* Featured image */ -}} {{- $image := $params.featuredimage -}} {{- $pageImageHidden := $params.hiddenFeaturedImage -}} @@ -221,20 +220,6 @@ {{- end -}} {{- end -}} - {{ if eq ($params.authorHidden | default false) false }} - {{- if and (not (eq $authorName " ")) (not (eq $pageTheme "hero")) -}} - {{- with $author -}} - <div class="footer-post-author"> - <div class="author-avatar"><a href="{{ with .link }} {{- . | safeHTML -}}{{ end }}" target="_blank"><img alt="{{ .about }}" src="{{ with .avatar }} {{- . | safeHTML -}}{{ end }}"></a></div> - <div class="author-info"> - <div class="name"><a href="{{ with .link }} {{- . | safeHTML -}}{{ end }}" target="_blank">{{ .full_name }}</a></div> - <div class="number-posts">{{ .about }}</span></div> - </div> - </div> - {{- end -}} - {{- end -}} - {{- end -}} - {{- /* Static TOC */ -}} {{- if ne $toc.enable false -}} <div class="details toc" id="toc-static" data-kept="{{ if $toc.keepStatic }}true{{ end }}"> @@ -278,12 +263,6 @@ <div id="toc-final"></div> </article> - - <div class="{{ if $toc.keepStatic }} post-share {{ else }} post-share post-share-toc {{ end }}"> - {{- partial "plugin/share.html" . -}} - </div> - - {{- $comment := .Site.Params.Comment -}} {{- if ($params.comment.enable | default $comment.enable) -}} <div class="page single comments content-block-position"> |