diff options
Diffstat (limited to 'layouts/default.html')
-rw-r--r-- | layouts/default.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/default.html b/layouts/default.html index 33afb234..20c90920 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -77,7 +77,7 @@ <script type="application/javascript" src="<%= @items['/assets/javascripts/badges.*'].path %>"></script> <%= render '/docsearch.*' %> <%= render '/mermaid.*' %> - <% if ENV['NANOC_ENV'] == 'production' %> + <% if is_production? %> <%# Add analytics only in production %> <%= render '/analytics.*' %> <% end %> |