Specify environment on build.
parent
e409828011
commit
869cbe0f56
|
@ -21,8 +21,11 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<!-- Plausible Analytics -->
|
{% if jekyll.environment == "production" %}
|
||||||
<script defer data-domain="jrpotter.com" src="https://analytics.jrpotter.com/js/script.js"></script>
|
<!-- Plausible Analytics -->
|
||||||
|
<script defer data-domain="jrpotter.com" src="https://analytics.jrpotter.com/js/script.js">
|
||||||
|
</script>
|
||||||
|
{% endif %}
|
||||||
<!-- Use Jekyll SEO plugin -->
|
<!-- Use Jekyll SEO plugin -->
|
||||||
{% seo %}
|
{% seo %}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
buildInputs = [ gems gems.wrappedRuby ];
|
buildInputs = [ gems gems.wrappedRuby ];
|
||||||
src = ./.;
|
src = ./.;
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
installPhase = "jekyll b -d $out";
|
installPhase = "JEKYLL_ENV=production jekyll b -d $out";
|
||||||
};
|
};
|
||||||
|
|
||||||
default = self.packages.${system}.app;
|
default = self.packages.${system}.app;
|
||||||
|
|
Loading…
Reference in New Issue