Hide time on posts with no explicit time
This commit is contained in:
parent
0123220208
commit
bde2d56e6a
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Reference in a new issue