summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorcrnh <30109443+crnh@users.noreply.github.com>2025-07-05 15:20:51 +0200
committerGitHub <noreply@github.com>2025-07-05 15:20:51 +0200
commit47ad2d183c2487539c07918763ccce3daee2b665 (patch)
tree5f0410ecee187f6d1e42596eefc17e8afcacff1a /layouts/_default
parentff0136799bbd006cb04f6527dc9f19f1b09f1cfa (diff)
Add options to hide list dates (#115)
Add showListDate parameter, show readTime dot if date is present
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 4398ce5..0538658 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -34,7 +34,7 @@
{{- end }}
{{- if .Param "readTime" }}
- &nbsp; · &nbsp;
+ {{ if .Date }}&nbsp; · &nbsp;{{ end }}
{{- .ReadingTime }} min read
{{- end }}
</p>