{{ .Date.Format "January 2, 2006" }}
{{ .Title }}
{{ $publishDate := .Date }}
{{ $currentTime := now }}
{{ $timeDiff := div (sub $currentTime.Unix $publishDate.Unix) 3600 }}
{{ if and (lt $timeDiff 24) (not .Params.weight) }}
{{ end }}
{{ if .Params.weight }}
{{ end }}
随笔
{{ $posts := sort (where (where .Site.RegularPages "Type" "post") "Params.status" "ne" "hidden")
"Weight" }}
{{ $paginator := .Paginate $posts }}
{{ range $paginator.Pages }}
{{ end }}