We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 278bbc4 commit 3402d67Copy full SHA for 3402d67
hugo.yaml
@@ -40,3 +40,7 @@ module:
40
imports:
41
- path: github.com/adityatelange/hugo-PaperMod
42
- path: github.com/mfg92/hugo-shortcode-gallery
43
+security:
44
+ funcs:
45
+ getenv:
46
+ - ENV
layouts/partials/extend_head.html
@@ -6,5 +6,7 @@
6
</style>
7
{{ end }}
8
9
+{{ if eq (os.Getenv "ENV") "PROD" }}
10
<script data-goatcounter="https://counter.dbut.dev/count"
11
async src="//counter.dbut.dev/count.js"></script>
12
+{{ end }}
0 commit comments