mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 15:02: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"
|
||||
giscusLoading = "lazy"
|
||||
giscusMapping = "og:title"
|
||||
giscusReactions = "1"
|
||||
giscusReactions = "0"
|
||||
giscusRepo = "jbowdre/site-comments"
|
||||
giscusRepoId = "R_kgDOKKEGDw"
|
||||
giscusStrict = "0"
|
||||
|
@ -183,8 +183,8 @@ title = "torchlight"
|
|||
url = "https://torchlight.dev"
|
||||
|
||||
[[powerLinks]]
|
||||
title = "cabin"
|
||||
url = "https://withcabin.com/privacy/runtimeterror.dev"
|
||||
title = "tinylytics"
|
||||
url = "https://tinylytics.app/home"
|
||||
|
||||
[[verifyLinks]]
|
||||
title = "omg.lol"
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
<div class="content__body">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{- if eq .Site.Params.analytics true }}
|
||||
<hr>
|
||||
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
|
||||
{{- end }}
|
||||
{{- $showComments := true }}
|
||||
{{- if eq .Site.Params.comments false }}
|
||||
{{- $showComments = false }}
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
<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>
|
||||
{{ if eq .Site.Params.analytics true }}
|
||||
<!-- tinylytics -->
|
||||
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=👏" defer></script>
|
||||
{{ end }}
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
|
|
|
@ -282,3 +282,24 @@ blockquote {
|
|||
border-left: 0.25rem solid var(--logo);
|
||||
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