diff options
-rw-r--r-- | layouts/_default/single.html | 2 |
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> |