diff --git a/CHANGELOG.md b/CHANGELOG.md index de345361..b20f37af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Enhancements +- Replace `
` in `comments.html` include and add `custom_scripts.html` include for loading custom comment provider JavaScript in the footer. [#2549](https://github.com/mmistakes/minimal-mistakes/issues/2549) - Move page date Liquid to include. [#2544](https://github.com/mmistakes/minimal-mistakes/pull/2544) - Strip trailing whitespace in seo_description. [#2542](https://github.com/mmistakes/minimal-mistakes/pull/2542) - Improve sticky sidebar's appearance with short content. [#2514](https://github.com/mmistakes/minimal-mistakes/pull/2514) diff --git a/_includes/comments-providers/custom_scripts.html b/_includes/comments-providers/custom_scripts.html new file mode 100644 index 00000000..6947946a --- /dev/null +++ b/_includes/comments-providers/custom_scripts.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/_includes/comments-providers/scripts.html b/_includes/comments-providers/scripts.html index 4e3f5854..c550618f 100644 --- a/_includes/comments-providers/scripts.html +++ b/_includes/comments-providers/scripts.html @@ -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 %} \ No newline at end of file diff --git a/_includes/comments.html b/_includes/comments.html index 6562f128..dbb90d1e 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -154,6 +154,6 @@

{{ comments_label }}

{% when "custom" %} -
+ {% include /comments-providers/custom.html %} {% endcase %} diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index d24bd73b..17c4191c 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -5,7 +5,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2020-06-02T22:23:56-04:00 +last_modified_at: 2020-06-02T22:31:55-04:00 toc: false --- @@ -13,6 +13,7 @@ toc: false ### Enhancements +- Replace `
` in `comments.html` include and add `custom_scripts.html` include for loading custom comment provider JavaScript in the footer. [#2549](https://github.com/mmistakes/minimal-mistakes/issues/2549) - Move page date Liquid to include. [#2544](https://github.com/mmistakes/minimal-mistakes/pull/2544) - Strip trailing whitespace in `seo_description`. [#2542](https://github.com/mmistakes/minimal-mistakes/pull/2542) - Improve sticky sidebar's appearance with short content. [#2514](https://github.com/mmistakes/minimal-mistakes/pull/2514)