diff options
Diffstat (limited to 'source/_layouts/post.html')
-rw-r--r-- | source/_layouts/post.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/_layouts/post.html b/source/_layouts/post.html index 096b74d..27f7125 100644 --- a/source/_layouts/post.html +++ b/source/_layouts/post.html @@ -5,7 +5,9 @@ single: true <article class="post">{% include article.html %}</article> {% include post/sharing.html %} +{% if site.disqus_short_name and page.comments == true %} <section id="comment"> <h1 class="title">留言</h1> <div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div> -</section>
\ No newline at end of file +</section> +{% endif %}
\ No newline at end of file |