From 56456e44f984b6662dbb68de2976acda56c6a250 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Mon, 24 Aug 2020 16:23:28 +0800 Subject: feat: add padding for post comments block --- _layouts/post.html | 18 ++++++++++-------- _sass/yat/_layout.scss | 4 ++++ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index d856c36..bd1f93d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -44,17 +44,19 @@ sidebar: - {%- if page.comments != false -%} +
+ {%- if page.comments != false -%} - {%- if site.disqus.shortname -%} - {%- include extensions/comments/disqus.html -%} - {%- endif -%} + {%- if site.disqus.shortname -%} + {%- include extensions/comments/disqus.html -%} + {%- endif -%} - {%- if site.gitment.username -%} - {%- include extensions/comments/gitment.html -%} - {%- endif -%} + {%- if site.gitment.username -%} + {%- include extensions/comments/gitment.html -%} + {%- endif -%} - {%- endif -%} + {%- endif -%} +
diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss index cbd8d5e..016bb4c 100644 --- a/_sass/yat/_layout.scss +++ b/_sass/yat/_layout.scss @@ -474,6 +474,10 @@ html { } } +.post-comments { + padding-top: 25px; +} + /** * Posts misc -- cgit v1.2.3