mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-26 08:52:18 +00:00
Compare commits
7 commits
1b35ccd64d
...
2d02179d2e
Author | SHA1 | Date | |
---|---|---|---|
2d02179d2e | |||
cdba5eace2 | |||
5991a169a4 | |||
5a790710f0 | |||
50d48780be | |||
5639ff45cf | |||
659b6dfaa4 |
4 changed files with 31 additions and 6 deletions
|
@ -18,7 +18,7 @@ giscusInputPosition = "bottom"
|
||||||
giscusLang = "en"
|
giscusLang = "en"
|
||||||
giscusLoading = "lazy"
|
giscusLoading = "lazy"
|
||||||
giscusMapping = "og:title"
|
giscusMapping = "og:title"
|
||||||
giscusReactions = "1"
|
giscusReactions = "0"
|
||||||
giscusRepo = "jbowdre/site-comments"
|
giscusRepo = "jbowdre/site-comments"
|
||||||
giscusRepoId = "R_kgDOKKEGDw"
|
giscusRepoId = "R_kgDOKKEGDw"
|
||||||
giscusStrict = "0"
|
giscusStrict = "0"
|
||||||
|
@ -183,8 +183,8 @@ title = "torchlight"
|
||||||
url = "https://torchlight.dev"
|
url = "https://torchlight.dev"
|
||||||
|
|
||||||
[[powerLinks]]
|
[[powerLinks]]
|
||||||
title = "cabin"
|
title = "tinylytics"
|
||||||
url = "https://withcabin.com/privacy/runtimeterror.dev"
|
url = "https://tinylytics.app/home"
|
||||||
|
|
||||||
[[verifyLinks]]
|
[[verifyLinks]]
|
||||||
title = "omg.lol"
|
title = "omg.lol"
|
||||||
|
|
|
@ -16,6 +16,10 @@
|
||||||
<div class="content__body">
|
<div class="content__body">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
{{- if eq .Site.Params.analytics true }}
|
||||||
|
<hr>
|
||||||
|
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
|
||||||
|
{{- end }}
|
||||||
{{- $showComments := true }}
|
{{- $showComments := true }}
|
||||||
{{- if eq .Site.Params.comments false }}
|
{{- if eq .Site.Params.comments false }}
|
||||||
{{- $showComments = false }}
|
{{- $showComments = false }}
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
<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 }}
|
{{ if eq .Site.Params.analytics true }}
|
||||||
<!-- cabin analytics -->
|
<!-- tinylytics -->
|
||||||
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
|
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=👏" defer></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- syntax highlighting -->
|
<!-- syntax highlighting -->
|
||||||
|
|
|
@ -281,4 +281,25 @@ blockquote {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
border-left: 0.25rem solid var(--logo);
|
border-left: 0.25rem solid var(--logo);
|
||||||
padding-left: 0.25rem;
|
padding-left: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* tinylytics kudos styling*/
|
||||||
|
.post_kudos {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.tinylytics_kudos {
|
||||||
|
border: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
color: var(--off-fg);
|
||||||
|
font-size: 1.2rem;
|
||||||
|
padding: 0;
|
||||||
|
transition: all .2s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.tinylytics_kudos:hover {
|
||||||
|
transform: scale(1.1);
|
||||||
|
text-shadow: var(--off-fg) 0 0 1px;
|
||||||
}
|
}
|
Loading…
Reference in a new issue