feat: include disqus if we enable it

This commit is contained in:
basti1dr 2015-09-27 18:40:16 +02:00
parent 02a82d7440
commit c6a9deace2
2 changed files with 7 additions and 0 deletions

View File

@ -19,3 +19,8 @@
<!-- Custom Theme JavaScript --> <!-- Custom Theme JavaScript -->
<script src="{{ "/js/freelancer.js" }}"></script> <script src="{{ "/js/freelancer.js" }}"></script>
{% if site.contact == "disqus" %}
<!-- Disqus Stuff -->
{% include js_disqus.html %}
{% endif %}

View File

@ -9,6 +9,8 @@
{% if site.contact == "static" %} {% if site.contact == "static" %}
{% include contact_static.html %} {% include contact_static.html %}
{% elsif site.contact == "disqus" %}
{% include contact_disqus.html %}
{% else %} {% else %}
{% include contact.html %} {% include contact.html %}
{% endif %} {% endif %}