summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 01c35c2..4398ce5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -17,6 +17,7 @@
{{- end }}
{{- /* Date, Reading Time and Author */}}
+ {{ if or (or (.Param "author") (.Param "authorAvatarPath")) (or .Date (.Param "readTime")) }}
<div class="single-subsummary">
{{ with $.Param "authorAvatarPath" }}
<img src="{{ . }}" alt="Author Avatar" />
@@ -39,6 +40,7 @@
</p>
</div>
</div>
+ {{- end}}
</header>