feat: add padding for post comments block

This commit is contained in:
jeffreytse 2020-08-24 16:23:28 +08:00
parent 3e1c3caad2
commit 56456e44f9
2 changed files with 14 additions and 8 deletions

View file

@ -44,17 +44,19 @@ sidebar:
</ul>
</div>
{%- if page.comments != false -%}
<div class="post-comments">
{%- 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 -%}
</div>
</section>
</div>

View file

@ -474,6 +474,10 @@ html {
}
}
.post-comments {
padding-top: 25px;
}
/**
* Posts misc