From 786243dc1da39c439700c4ab97f535d1d9c38560 Mon Sep 17 00:00:00 2001 From: Zhai2333 Date: Sun, 9 Jun 2019 17:59:20 +0800 Subject: [PATCH] [*] fix: 0001-01-01 when doesn't provide a date --- layouts/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3e71aee..08efb30 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,9 +3,11 @@

{{ .Title | markdownify }}

+ {{ if .Params.Date }} + {{ end }} {{ with .Params.Author }}