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> </ul>
</div> </div>
{%- if page.comments != false -%} <div class="post-comments">
{%- if page.comments != false -%}
{%- if site.disqus.shortname -%} {%- if site.disqus.shortname -%}
{%- include extensions/comments/disqus.html -%} {%- include extensions/comments/disqus.html -%}
{%- endif -%} {%- endif -%}
{%- if site.gitment.username -%} {%- if site.gitment.username -%}
{%- include extensions/comments/gitment.html -%} {%- include extensions/comments/gitment.html -%}
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
</div>
</section> </section>
</div> </div>

View file

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