Skip to content

Commit

Permalink
Merge pull request #7 from scifm/analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
awadell1 authored Nov 8, 2023
2 parents 932840e + 767f49a commit 90676dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ install:
bundle install

build:
bundle exec jekyll build
JEKYLL_ENV=production bundle exec jekyll build

test: build
bundle exec htmlproofer --disable-external --ignore-missing-alt _site
2 changes: 1 addition & 1 deletion _includes/analytics.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Google tag (gtag.js) {{ jekyll.environment }}-->
{% if jekyll.environment == 'production' %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.gtag }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
Expand Down

0 comments on commit 90676dd

Please sign in to comment.