Specify environment on build.
parent
e409828011
commit
869cbe0f56
|
@ -21,8 +21,11 @@
|
|||
}
|
||||
});
|
||||
</script>
|
||||
<!-- Plausible Analytics -->
|
||||
<script defer data-domain="jrpotter.com" src="https://analytics.jrpotter.com/js/script.js"></script>
|
||||
{% if jekyll.environment == "production" %}
|
||||
<!-- Plausible Analytics -->
|
||||
<script defer data-domain="jrpotter.com" src="https://analytics.jrpotter.com/js/script.js">
|
||||
</script>
|
||||
{% endif %}
|
||||
<!-- Use Jekyll SEO plugin -->
|
||||
{% seo %}
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue