enable disqus
This commit is contained in:
parent
806bf023b2
commit
6c10d21051
@ -4,7 +4,7 @@
|
|||||||
<div id="disqus-comments">
|
<div id="disqus-comments">
|
||||||
{{ $isDummyName := eq . "yourdiscussshortname" }}
|
{{ $isDummyName := eq . "yourdiscussshortname" }}
|
||||||
{{ $isServer := $.Site.IsServer }}
|
{{ $isServer := $.Site.IsServer }}
|
||||||
{{ if or $isDummyName $isServer }}
|
{{ if or $isDummyName false }}
|
||||||
<p><em>{{ T "discuss_comments_disabled" }}</em></p>
|
<p><em>{{ T "discuss_comments_disabled" }}</em></p>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
function showComments() {
|
function showComments() {
|
||||||
|
Loading…
Reference in New Issue
Block a user