{{ .Date.Format "January 2, 2006" }}
{{ .Title }}
+
{{ $publishDate := .Date }}
{{ $currentTime := now }}
{{ $timeDiff := div (sub $currentTime.Unix $publishDate.Unix) 3600 }}
+
{{ if lt $timeDiff 24 }}
-
+
{{ end }}