diff options
Diffstat (limited to '_site_build/_layouts')
| -rw-r--r-- | _site_build/_layouts/default.html | 3 | ||||
| -rw-r--r-- | _site_build/_layouts/post.html | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/_site_build/_layouts/default.html b/_site_build/_layouts/default.html index e57e887..918cc1a 100644 --- a/_site_build/_layouts/default.html +++ b/_site_build/_layouts/default.html @@ -30,5 +30,8 @@ {% if site.production and site.google_ua %} {% include google_analytics.html %} {% endif %} +{% if page.comments and site.disqus_shortname %} + {% include disqus.html %} +{% endif %} </body> </html> diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html index a435a70..f38b1ed 100644 --- a/_site_build/_layouts/post.html +++ b/_site_build/_layouts/post.html @@ -22,4 +22,11 @@ layout: default </ul> </nav> </footer> + {% if page.comments and site.disqus_shortname %} + <aside> + <div id="disqus_thread"></div> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a> + </aside> + {% endif %} </article> |
