diff --git a/source/layouts/_analytics.erb b/source/layouts/_analytics.erb index e2bb95d4..45fbe15d 100644 --- a/source/layouts/_analytics.erb +++ b/source/layouts/_analytics.erb @@ -1,9 +1,7 @@ - + + + diff --git a/source/layouts/_noscript_analytics.erb b/source/layouts/_noscript_analytics.erb new file mode 100644 index 00000000..6ac53afc --- /dev/null +++ b/source/layouts/_noscript_analytics.erb @@ -0,0 +1,4 @@ + + + diff --git a/source/layouts/blank.erb b/source/layouts/blank.erb index 6e7ddf27..cd69130c 100644 --- a/source/layouts/blank.erb +++ b/source/layouts/blank.erb @@ -1,6 +1,7 @@ + <%= partial("layouts/analytics") %> <%= current_page.data.title %> | Your API Site Name @@ -9,9 +10,9 @@ <%= stylesheet_link_tag("all") %> - <%= partial("layouts/analytics") %> + <%= partial("layouts/noscript_analytics") %> <%= yield %> diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index bd45204a..278f9c4e 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -1,6 +1,7 @@ + <%= partial("layouts/analytics") %> @@ -28,9 +29,9 @@ <%= javascript_include_tag("shared") %> <%= javascript_include_tag("all") %> - <%= partial("layouts/analytics") %> + <%= partial("layouts/noscript_analytics") %> <%= partial("layouts/header") %> <%= yield %> <%= partial("layouts/edit_me") %>