mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-24 11:52:19 +00:00
only load cabin on prod
This commit is contained in:
parent
2499f34bfa
commit
6ee422259b
4 changed files with 8 additions and 2 deletions
|
@ -15,6 +15,8 @@ utterancesRepo = "jbowdre/site-comments"
|
|||
utterancesIssueTerm = "og:title"
|
||||
utterancesTheme = "gruvbox-dark"
|
||||
|
||||
analytics = true
|
||||
|
||||
[theme]
|
||||
palette = "runtimeterror"
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
comments = false
|
||||
comments = false
|
||||
analytics = false
|
|
@ -1 +1,2 @@
|
|||
comments = false
|
||||
comments = false
|
||||
analytics = false
|
|
@ -19,8 +19,10 @@
|
|||
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
||||
|
||||
{{ if .Site.Params.analytics }}
|
||||
<!-- cabin analytics -->
|
||||
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
|
||||
{{ end }}
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
{{ if (findRE "<pre" .Content 1) }}
|
||||
|
|
Loading…
Reference in a new issue