summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2020-08-24 16:23:28 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2020-08-24 16:23:28 +0800
commit56456e44f984b6662dbb68de2976acda56c6a250 (patch)
treeb0d8186d0db0d823022fe484bb5f5c2f29fdfc0f /_layouts/post.html
parent3e1c3caad23fd9d1e65dd192483d7a71a8864eda (diff)
feat: add padding for post comments block
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html18
1 files changed, 10 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:
</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>