mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-22 14:56:19 +01:00
fix: missing "comment" class in Commento and Utterances div
This commit is contained in:
parent
3ca901c60f
commit
a6adf14c57
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@
|
||||||
{{- /* Commento Comment System */ -}}
|
{{- /* Commento Comment System */ -}}
|
||||||
{{- $commento := $comment.commento | default dict -}}
|
{{- $commento := $comment.commento | default dict -}}
|
||||||
{{- if $commento.enable -}}
|
{{- if $commento.enable -}}
|
||||||
<div id="commento"></div>
|
<div id="commento" class="comment"></div>
|
||||||
{{- dict "Source" "https://cdn.commento.io/js/commento.js" "Defer" true | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
|
{{- dict "Source" "https://cdn.commento.io/js/commento.js" "Defer" true | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
|
||||||
<noscript>
|
<noscript>
|
||||||
Please enable JavaScript to view the comments powered by <a href="https://commento.io/">Commento</a>.
|
Please enable JavaScript to view the comments powered by <a href="https://commento.io/">Commento</a>.
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
{{- /* Utterances Comment System */ -}}
|
{{- /* Utterances Comment System */ -}}
|
||||||
{{- $utterances := $comment.utterances | default dict -}}
|
{{- $utterances := $comment.utterances | default dict -}}
|
||||||
{{- if $utterances.enable -}}
|
{{- if $utterances.enable -}}
|
||||||
<div id="utterances"></div>
|
<div id="utterances" class="comment"></div>
|
||||||
{{- $commentConfig = dict "repo" $utterances.repo | dict "utterances" | merge $commentConfig -}}
|
{{- $commentConfig = dict "repo" $utterances.repo | dict "utterances" | merge $commentConfig -}}
|
||||||
{{- $commentConfig = $utterances.issueTerm | default "pathname" | dict "issueTerm" | dict "utterances" | merge $commentConfig -}}
|
{{- $commentConfig = $utterances.issueTerm | default "pathname" | dict "issueTerm" | dict "utterances" | merge $commentConfig -}}
|
||||||
{{- $commentConfig = dict "label" $utterances.label | dict "utterances" | merge $commentConfig -}}
|
{{- $commentConfig = dict "label" $utterances.label | dict "utterances" | merge $commentConfig -}}
|
||||||
|
|
Loading…
Reference in a new issue