mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 17:08:48 -05:00
Make it possible to disable the comments section entirely without having to muck with theme files.
This commit is contained in:
parent
72579fe9cf
commit
187d86b514
@ -1,3 +1,4 @@
|
||||
{% if site.use_comments %}
|
||||
<section>
|
||||
<h1>Comments</h1>
|
||||
{% include custom/comments.html %}
|
||||
@ -5,3 +6,4 @@
|
||||
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
@ -1,3 +1,5 @@
|
||||
{% comment %}
|
||||
To use a custom comment system, add the javascript to custom/after_footer.html then add the container for your comments here.
|
||||
|
||||
Be sure to set "use_comments: true" in site.yml or the comments section will not be displayed!
|
||||
{% endcomment %}
|
||||
|
@ -3,6 +3,8 @@
|
||||
# Disqus Comments Configuration #
|
||||
# --------------------------------- #
|
||||
|
||||
# In order to use Disqus you must both set the short name here, AND set
|
||||
# "use_comments: true" in site.yml.
|
||||
disqus_short_name:
|
||||
disqus_show_comment_count: false
|
||||
disqus_developer: 0
|
||||
|
Loading…
Reference in New Issue
Block a user