enable disqus
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user