mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 15:02:18 +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"
|
utterancesIssueTerm = "og:title"
|
||||||
utterancesTheme = "gruvbox-dark"
|
utterancesTheme = "gruvbox-dark"
|
||||||
|
|
||||||
|
analytics = true
|
||||||
|
|
||||||
[theme]
|
[theme]
|
||||||
palette = "runtimeterror"
|
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/risotto.css" | absURL }}">
|
||||||
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
||||||
|
|
||||||
|
{{ if .Site.Params.analytics }}
|
||||||
<!-- cabin analytics -->
|
<!-- cabin analytics -->
|
||||||
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
|
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<!-- syntax highlighting -->
|
<!-- syntax highlighting -->
|
||||||
{{ if (findRE "<pre" .Content 1) }}
|
{{ if (findRE "<pre" .Content 1) }}
|
||||||
|
|
Loading…
Reference in a new issue