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