A collection of partials that are usable in a number of layouts.
Adds the necessary script for Google Tag Manager.
Requires a GTM ID.
Example usage in a Liquid template:
{% include google-tag-manager.html id=site.google_tag_manager %}
Keep in sync with Google Tag Manager for Web Tracking - Quick Start Guide.
Adds the necessary script for Disqus comments.
Requires the site shortname and an optional page identifier.
Example usage in a Liquid template:
{% if page.comments %}
{% include disqus-comments.html
shortname=site.disqus_shortname
identifier=site.disqus_identifier | append:page.url | replace:"index.html", ""
%}
{% endif %}
Keep in sync with Disqus Setup Instructions for Universal Code.