enable disqus

This commit is contained in:
infidel 2022-04-10 20:56:08 +07:00
parent 806bf023b2
commit 6c10d21051

View File

@ -4,7 +4,7 @@
<div id="disqus-comments">
{{ $isDummyName := eq . "yourdiscussshortname" }}
{{ $isServer := $.Site.IsServer }}
{{ if or $isDummyName $isServer }}
{{ if or $isDummyName false }}
<p><em>{{ T "discuss_comments_disabled" }}</em></p>
<script type="application/javascript">
function showComments() {