diff --git a/themes/Ying/layouts/_default/home.html b/themes/Ying/layouts/_default/home.html index 0a42157c..1854a996 100644 --- a/themes/Ying/layouts/_default/home.html +++ b/themes/Ying/layouts/_default/home.html @@ -13,7 +13,7 @@ {{ $publishDate := .Date }} {{ $currentTime := now }} {{ $timeDiff := div (sub $currentTime.Unix $publishDate.Unix) 3600 }} - + {{ if lt $timeDiff 24 }} {{ end }}