chore(docs): update docs for utterances and giscus comment

This commit is contained in:
Dillon
2022-05-26 02:07:52 +08:00
parent 61eccb2502
commit ea043a2674
9 changed files with 60 additions and 18 deletions

View File

@@ -112,7 +112,7 @@
</noscript>
{{- end -}}
{{- /* Utterances Comment System */ -}}
{{- /* utterances Comment System */ -}}
{{- $utterances := $comment.utterances | default dict -}}
{{- if $utterances.enable -}}
<div id="utterances" class="comment"></div>
@@ -122,7 +122,7 @@
{{- $commentConfig = $utterances.lightTheme | default "github-light" | dict "lightTheme" | dict "utterances" | merge $commentConfig -}}
{{- $commentConfig = $utterances.darkTheme | default "github-dark" | dict "darkTheme" | dict "utterances" | merge $commentConfig -}}
<noscript>
Please enable JavaScript to view the comments powered by <a href="https://utteranc.es/">Utterances</a>.
Please enable JavaScript to view the comments powered by <a href="https://utteranc.es/">utterances</a>.
</noscript>
{{- end -}}