mirror of
https://gitlab.com/moepoi-site/moepoi-blog.git
synced 2024-11-25 08:37:35 +01:00
Update config.toml
Deleted layouts/partials/comment-disabled.html
This commit is contained in:
parent
59b19d7fb1
commit
a571e7ccc7
2 changed files with 3 additions and 20 deletions
|
@ -359,8 +359,8 @@ theme = "LoveIt"
|
||||||
# Valine comment config
|
# Valine comment config
|
||||||
[params.page.comment.valine]
|
[params.page.comment.valine]
|
||||||
enable = false
|
enable = false
|
||||||
appId = ""
|
appId = "utGD7nEzMeanceV8745zAgA8-MdYXbMMI"
|
||||||
appKey = ""
|
appKey = "FVBMhTpQKEI28bj3q0R8jdvl"
|
||||||
placeholder = ""
|
placeholder = ""
|
||||||
avatar = "mp"
|
avatar = "mp"
|
||||||
meta= ""
|
meta= ""
|
||||||
|
@ -386,7 +386,7 @@ theme = "LoveIt"
|
||||||
languageCode = ""
|
languageCode = ""
|
||||||
# Telegram comments config
|
# Telegram comments config
|
||||||
[params.page.comment.telegram]
|
[params.page.comment.telegram]
|
||||||
enable = false
|
enable = true
|
||||||
siteID = "AatkodL9"
|
siteID = "AatkodL9"
|
||||||
limit = 5
|
limit = 5
|
||||||
height = ""
|
height = ""
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
{{- $cdn := .Scratch.Get "cdn" | default dict -}}
|
|
||||||
{{- $fingerprint := .Scratch.Get "fingerprint" -}}
|
|
||||||
{{- $comment := .Scratch.Get "comment" | default dict -}}
|
|
||||||
{{- $commentConfig := dict -}}
|
|
||||||
|
|
||||||
{{- if $comment.enable -}}
|
|
||||||
<div id="comments">
|
|
||||||
|
|
||||||
{{- /* Telegram Comments System */ -}}
|
|
||||||
{{- $telegram := $comment.telegram | default dict -}}
|
|
||||||
|
|
||||||
<div id="telegram-comments" class="comment"></div>
|
|
||||||
<script async src="https://comments.app/js/widget.js?3" data-comments-app-website="AatkodL9" data-limit="5" data-color="E22F38" data-colorful="1"></script>
|
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://comments.app/">comments powered by Telegram Comments.</a></noscript>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- dict "comment" $commentConfig | dict "config" | merge (.Scratch.Get "this") | .Scratch.Set "this" -}}
|
|
Loading…
Reference in a new issue