Replace custom comment hardcoded HTML with include
Also add custom_scripts.html include for custom comment provider JavaScript that loads in the footer. Close #2549
This commit is contained in:
3
_includes/comments-providers/custom_scripts.html
Normal file
3
_includes/comments-providers/custom_scripts.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!-- start custom comments scripts -->
|
||||
|
||||
<!-- end custom comments scripts -->
|
||||
@@ -13,6 +13,6 @@
|
||||
{% when "utterances" %}
|
||||
{% include /comments-providers/utterances.html %}
|
||||
{% when "custom" %}
|
||||
{% include /comments-providers/custom.html %}
|
||||
{% include /comments-providers/custom_scripts.html %}
|
||||
{% endcase %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user