From c6a9deace26d4f878115caac05a8002474ef7663 Mon Sep 17 00:00:00 2001 From: basti1dr Date: Sun, 27 Sep 2015 18:40:16 +0200 Subject: [PATCH] feat: include disqus if we enable it --- _includes/js.html | 5 +++++ _layouts/default.html | 2 ++ 2 files changed, 7 insertions(+) diff --git a/_includes/js.html b/_includes/js.html index 7d37df5..9357111 100644 --- a/_includes/js.html +++ b/_includes/js.html @@ -19,3 +19,8 @@ + + {% if site.contact == "disqus" %} + + {% include js_disqus.html %} + {% endif %} diff --git a/_layouts/default.html b/_layouts/default.html index 0482848..640dc5f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -9,6 +9,8 @@ {% if site.contact == "static" %} {% include contact_static.html %} + {% elsif site.contact == "disqus" %} + {% include contact_disqus.html %} {% else %} {% include contact.html %} {% endif %}