Add <br> after date, even without .Lastmod.
This commit is contained in:
parent
75c818bfc2
commit
87b953ee92
|
@ -12,8 +12,8 @@
|
|||
<time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">
|
||||
{{- .Lastmod.Format (default "01-02-2006" .Site.Params.dateFmt) -}}
|
||||
</time>
|
||||
{{- if $showlink }}<br>{{- end }}
|
||||
{{- end }} <!-- if ne .Date .Lastmod -->
|
||||
{{- if $showlink }}<br>{{- end }}
|
||||
{{- end }} <!-- if $showdate -->
|
||||
|
||||
{{- if $showlink }}
|
||||
|
|
Loading…
Reference in New Issue