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 <upagge@mail.ru>2020-11-30 14:17:51 +0300
committeruPagge <upagge@mail.ru>2020-11-30 14:17:51 +0300
commitcfeeebc13f70bcd99f0e9a3e44cbb306362e6155 (patch)
treef605ce69f6b65fbe828675469682db43b9a336f3 /layouts/posts
parent6b8831850f26e2b9d2799f2d1563b1778d8f8cc7 (diff)
Доработка дизайна
Diffstat (limited to 'layouts/posts')
-rw-r--r--layouts/posts/single.html11
1 files changed, 4 insertions, 7 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index e996e40..7e2f6b0 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -30,10 +30,10 @@
<div class="featured-image" style="background-image: url('{{ $image }}');">
<div class="post-title">
- <div class="post-all-meta">
{{- end -}}
- <div class="post-all-meta">
+ <div class="post-all-meta {{ if $image }} {{ else }} padding-article {{ end }}">
+
<h1 class="single-title animated flipInX">{{ $.Title }}</h1>
{{- /* Meta */ -}}
<div class="post-meta">
@@ -64,7 +64,6 @@
</div>
</div>
{{- with $image -}}
- </div>
</div>
</div>
{{- end -}}
@@ -114,10 +113,8 @@
{{- if $authorComment -}}
<div class="author-comment">
<div class="author-avatar" style="float: left"><a href="{{ with $author.site }} {{- . | safeHTML -}}{{ end }}" target="_blank"><img alt="" src="{{ with $author.avatar }} {{- . | safeHTML -}}{{ end }}" border="0"></a></div>
- <div class="author-info" style="width: 80%;">
- <div class="name">{{ $author.name }}</div>
- <div class="author-comment-text">{{ $authorComment }}</span></div>
- </div>
+ <div class="name">{{ $author.name }}</div>
+ <div class="author-comment-text">{{ $authorComment }}</span></div>
</div>
{{- end -}}
{{- end -}}