_layouts/page.html in jekyll-sleek-0.1.1 vs _layouts/page.html in jekyll-sleek-0.1.2
- old
+ new
@@ -1,14 +1,24 @@
---
-layout: page
+layout: compress
---
<html lang="{{ page.lang | default: site.lang | default: "en_US" }}">
{% include head.html %}
<body class="site">
+ {% if site.google_tag_manager %}
+
+ <!-- Google Tag Manager (noscript) -->
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.google_tag_manager }}"
+ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
+ <!-- End Google Tag Manager (noscript) -->
+
+ {% endif %}
+
{% include header.html %}
+
<div class="hero--small">
<div class="hero__wrap">
<h1 class="hero__title">{{ page.title }}</h1>
</div>
</div>