From 0d4dec0c929240dd9af3e5e2a4c0fda6dde8e3ff Mon Sep 17 00:00:00 2001 From: Paul Fioravanti Date: Tue, 23 Oct 2018 15:14:01 +1100 Subject: [PATCH] Revert caching for comments and analytics. Fixes #1905 --- CHANGELOG.md | 1 + _includes/scripts.html | 4 ++-- _layouts/default.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3861a356a50..a917d36e2a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Fix Lunr search index merging words. [#1883](https://github.com/mmistakes/minimal-mistakes/issues/1883) - Properly apply `relative_url` filter to internal links in header overlay `actions` array. +- Revert cached includes (`include_cached`) for comment and analytics providers. [#1905](https://github.com/mmistakes/minimal-mistakes/issues/1905) ## [4.13.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.13.0) diff --git a/_includes/scripts.html b/_includes/scripts.html index 8d2b30f4982b..1177ecfd8f88 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -24,5 +24,5 @@ {%- endcase -%} {% endif %} -{% include_cached analytics.html %} -{% include_cached /comments-providers/scripts.html %} +{% include analytics.html %} +{% include /comments-providers/scripts.html %} diff --git a/_layouts/default.html b/_layouts/default.html index 0cdcd0591b73..4a81e4b78f92 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -36,7 +36,7 @@ - {% include_cached scripts.html %} + {% include scripts.html %} - \ No newline at end of file +