Hide time on posts with no explicit time

main
Elnu 2 years ago
parent 0123220208
commit bde2d56e6a

@ -1 +1 @@
<time datetime="{{ partial "datestamp.html" .Date }}">{{ .Date.Format "2006/01/02 15:04" }}</time>
<time datetime="{{ partial "datestamp.html" .Date }}">{{ .Date.Format "2006/01/02" }} {{ if ne (.Date.Format "15:04") "00:00" }}{{ .Date.Format "15:04" }}{{ end }}</time>