aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 05:40:26 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 05:40:26 +0300
commit7dda8f1fa5976e97addd1737f2ef901e71ac2724 (patch)
treeef7edca921fb3d8600e3085714aa98c82a361a4b
parentstd::call_once: rename the src/ folder (diff)
downloadjekyll-theme-7dda8f1fa5976e97addd1737f2ef901e71ac2724.tar.gz
jekyll-theme-7dda8f1fa5976e97addd1737f2ef901e71ac2724.zip
remove comments from posts
Comment sections were useless anyways.
-rw-r--r--_includes/posts/comments.html15
-rw-r--r--_layouts/post.html1
2 files changed, 0 insertions, 16 deletions
diff --git a/_includes/posts/comments.html b/_includes/posts/comments.html
deleted file mode 100644
index f16a70c..0000000
--- a/_includes/posts/comments.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% if site.include_comments %}
-<div id="disqus_thread"></div>
-<script type="text/javascript">
- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
- var disqus_shortname = 'cpp-tips'; // required: replace example with your forum shortname
-
- /* * * DON'T EDIT BELOW THIS LINE * * */
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
-</script>
-<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-{% endif %}
diff --git a/_layouts/post.html b/_layouts/post.html
index 9d91204..187b951 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -5,7 +5,6 @@
<p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date_to_long_string }}</p>
{{ content }}
<hr/>
- {% include posts/comments.html %}
</div>
<div class="col-md-4">
{% include common/sidebar.html %}