diff --git a/README.md b/README.md index bba17da..0d5f4fd 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,7 @@ If you want to disable user-facing signup: - `heroku config:set DISABLE_SIGNUP=true` + +If you want to enable Disqus comments: + +- `heroku config:set DISQUS_SHORTNAME=whatever` diff --git a/blogs/templates/blogs/themes/default/list.html b/blogs/templates/blogs/themes/default/list.html index 94da03c..0a9c272 100644 --- a/blogs/templates/blogs/themes/default/list.html +++ b/blogs/templates/blogs/themes/default/list.html @@ -21,29 +21,4 @@ {% endfor %} {% paginate %} - - {% endblock %} diff --git a/blogs/templates/blogs/themes/default/post.html b/blogs/templates/blogs/themes/default/post.html index 266a3ca..4bdba23 100644 --- a/blogs/templates/blogs/themes/default/post.html +++ b/blogs/templates/blogs/themes/default/post.html @@ -20,7 +20,7 @@ {% endwith %}
'); - // For new snipts. if (this.$el.attr('id') === 'new-snipt') { this.$el.fadeIn('fast'); diff --git a/snipts/templates/snipts/detail.html b/snipts/templates/snipts/detail.html index 4816127..fb0bca5 100644 --- a/snipts/templates/snipts/detail.html +++ b/snipts/templates/snipts/detail.html @@ -77,29 +77,5 @@ {% endfor %} -
- {% if snipt.public %} - - {% else %} -

- Disqus comments are disabled on private snipts.

- See https://github.com/nicksergeant/snipt/issues/53 for more information. -

- {% endif %} -
{% endblock %} diff --git a/snipts/templates/snipts/list.html b/snipts/templates/snipts/list.html index 34116b7..3e9802e 100644 --- a/snipts/templates/snipts/list.html +++ b/snipts/templates/snipts/list.html @@ -57,30 +57,4 @@ {% paginate %} {% endif %} - - {% endblock %} diff --git a/snipts/templates/snipts/snipt-list.html b/snipts/templates/snipts/snipt-list.html index 79e12bd..2732be1 100644 --- a/snipts/templates/snipts/snipt-list.html +++ b/snipts/templates/snipts/snipt-list.html @@ -214,9 +214,6 @@ {% else %}
  • {{ snipt.created|naturaltime }}
  • {% endif %} - {% if snipt.public and not detail %} -
  • - {% endif %}
  • Raw / Raw Nice diff --git a/templates/search/search.html b/templates/search/search.html index 0ba7780..29efb01 100644 --- a/templates/search/search.html +++ b/templates/search/search.html @@ -106,30 +106,4 @@ {% endif %} {% endif %} - - {% endblock %}