_layouts/default.html in simport-1.2.0 vs _layouts/default.html in simport-1.3.0
- old
+ new
@@ -1,12 +1,15 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
+ {% seo %}
<link rel="stylesheet" href="{{ '/assets/css/styles.css' | relative_url }}">
{% feed_meta %}
- {% seo %}
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
+ {%- include google-analytics.html -%}
+ {%- endif -%}
</head>
<body>
{% include navigation.html %}
<main>
{{ content }}
\ No newline at end of file