Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/comments.html')
-rw-r--r--layouts/post/comments.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/post/comments.html b/layouts/post/comments.html
index bdea945..9b993d7 100644
--- a/layouts/post/comments.html
+++ b/layouts/post/comments.html
@@ -1,11 +1,11 @@
{{ if ne .Site.DisqusShortname "" }}
- {{ if not (in (printf "%#v" .Site.BaseURL) "localhost") }}
- <article class="post">
- {{ template "_internal/disqus.html" . }}
- </article>
- {{ end }}
-{{ else if .Site.Params.staticman.staticman }}
+ {{ if not (in (printf "%#v" .Site.BaseURL) "localhost") }}
<article class="post">
- {{ .Render "staticman" }}
+ {{ template "_internal/disqus.html" . }}
</article>
+ {{ end }}
+{{ else if .Site.Params.staticman.staticman }}
+ <article class="post">
+ {{ .Render "staticman" }}
+ </article>
{{ end }}