mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 22:42:19 +00:00
remove giscus comments
This commit is contained in:
parent
69b8bb14dc
commit
4956f27730
4 changed files with 0 additions and 50 deletions
|
@ -38,20 +38,6 @@ robots = [
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
comments = true
|
comments = true
|
||||||
giscusCategory = "Announcements"
|
|
||||||
giscusCategoryId = "DIC_kwDOKKEGD84CcG89"
|
|
||||||
giscusCrossOrigin = "anonymous"
|
|
||||||
giscusEmitMetadata = "0"
|
|
||||||
giscusInputPosition = "bottom"
|
|
||||||
giscusLang = "en"
|
|
||||||
giscusLoading = "lazy"
|
|
||||||
giscusMapping = "og:title"
|
|
||||||
giscusReactions = "0"
|
|
||||||
giscusRepo = "jbowdre/site-comments"
|
|
||||||
giscusRepoId = "R_kgDOKKEGDw"
|
|
||||||
giscusStrict = "0"
|
|
||||||
giscusTheme = "noborder_gray"
|
|
||||||
|
|
||||||
analytics = true
|
analytics = true
|
||||||
kudos = true
|
kudos = true
|
||||||
emailReplies = true
|
emailReplies = true
|
||||||
|
|
|
@ -63,9 +63,6 @@
|
||||||
{{- $address := printf "blogreply.%s@%s" $path "runtimeterror.dev" }}
|
{{- $address := printf "blogreply.%s@%s" $path "runtimeterror.dev" }}
|
||||||
<span class="post_email_reply"><a href="mailto:{{ $address }}?Subject=Re: {{ .Title }}">📧 Reply by email</a></span>
|
<span class="post_email_reply"><a href="mailto:{{ $address }}?Subject=Re: {{ .Title }}">📧 Reply by email</a></span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<br><details class="comments_widget"><summary>Comments</summary>
|
|
||||||
{{- partial "comments" . }}
|
|
||||||
</details>
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<footer class="content__footer"></footer>
|
<footer class="content__footer"></footer>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
{{ if isset site.Params "giscusrepo" }}
|
|
||||||
<div class="post_comments">
|
|
||||||
<script src="https://giscus.runtimeterror.dev/client.js"
|
|
||||||
data-repo="{{ .Site.Params.giscusRepo }}"
|
|
||||||
data-repo-id="{{ .Site.Params.giscusRepoId }}"
|
|
||||||
data-category="{{ .Site.Params.giscusCategory }}"
|
|
||||||
data-category-id="{{ .Site.Params.giscusCategoryId }}"
|
|
||||||
data-mapping="{{ .Site.Params.giscusMapping }}"
|
|
||||||
data-strict="{{ .Site.Params.giscusStrict }}"
|
|
||||||
data-reactions-enabled="{{ .Site.Params.giscusReactions }}"
|
|
||||||
data-emit-metadata="{{ .Site.Params.giscusEmitMetadata }}"
|
|
||||||
data-input-position="{{ .Site.Params.giscusInputPosition }}"
|
|
||||||
data-theme="{{ .Site.Params.giscusTheme }}"
|
|
||||||
data-lang="{{ .Site.Params.giscusLang }}"
|
|
||||||
data-loading="{{ .Site.Params.giscusLoading }}"
|
|
||||||
crossorigin="{{ .Site.Params.giscusCrossOrigin }}"
|
|
||||||
async>
|
|
||||||
</script>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
|
@ -391,16 +391,3 @@ a.tinylytics_webring {
|
||||||
hr {
|
hr {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* summary styling */
|
|
||||||
details {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
details.comments_widget summary::before {
|
|
||||||
content: 'Load ';
|
|
||||||
}
|
|
||||||
|
|
||||||
details[open].comments_widget summary::before {
|
|
||||||
content: 'Hide ';
|
|
||||||
}
|
|
Loading…
Reference in a new issue