Skip to content

Commit

Permalink
Revert caching for comments and analytics. Fixes mmistakes#1905 (mmis…
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfioravanti authored and mmistakes committed Oct 23, 2018
1 parent 40cf76a commit c31849e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
{%- endcase -%}
{% endif %}

{% include_cached analytics.html %}
{% include_cached /comments-providers/scripts.html %}
{% include analytics.html %}
{% include /comments-providers/scripts.html %}
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</footer>
</div>

{% include_cached scripts.html %}
{% include scripts.html %}

</body>
</html>
</html>

0 comments on commit c31849e

Please sign in to comment.