summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2021-02-25 21:56:48 +0100
committerAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2021-02-25 21:56:48 +0100
commitb8dda716d04a20cdea12e89f5360947ddd68ad91 (patch)
tree32a3a6625c80736ed94c3f336ba6361bd89188a4 /layouts/_default/single.html
parent181171399a0fc5ed7356c7a96a4ba04d0a0999d0 (diff)
Fixes
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index bb342dc..3d46668 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -5,7 +5,7 @@
{{ if ne .Type "page" -}}
<div class="post-date">
- <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> &middot; {{ .ReadingTime }} min read
+ <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> <span class="readtime">&middot; {{ .ReadingTime }} min read</span>
</div>
{{- end }}
@@ -18,11 +18,12 @@
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
{{ partial "share.html" . }}
{{- end }}
-</div>
-
-{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
-<h2>Comments</h2>
-{{ template "_internal/disqus.html" . }}
-{{- end }}
+ {{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
+ <div class="comments">
+ <h2>Comments</h2>
+ {{ template "_internal/disqus.html" . }}
+ </div>
+ {{- end }}
+</div>
{{- end }}