- <div class="content container">
- <div class="post">
- <h1>{{ .Title }}</h1>
- <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
- {{ .Content }}
- </div>
-
- {{ if .Site.Params.disqusShortname }}
- <h2>Comments</h2>
- {{ partial "disqus" . }}
- {{ end }}
- </div>
-
-</body>
-</html>
\ No newline at end of file
+{{ if .Site.Params.disqusShortname -}}
+<h2>Comments</h2>
+{{ partial "disqus" . }}
+{{- end }}
+{{- end }}
\ No newline at end of file