mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +00:00
only load cabin on prod
This commit is contained in:
parent
ce7e2e2b3d
commit
f2a3b94411
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