Skip to content

Commit

Permalink
fix(analytics): include ga.html only for production build
Browse files Browse the repository at this point in the history
fixes #18
  • Loading branch information
sarbbottam committed Oct 23, 2016
1 parent 55c148b commit d53bf1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ <h1>{{ title }}</h1>
{{ content }}
</div>
</div>

{% include footer.html %}

{% if jekyll.environment == "production" %}
{% include ga.html %}
{% endif %}

</body>
</html>

0 comments on commit d53bf1e

Please sign in to comment.