Add <br> after date, even without .Lastmod.

This commit is contained in:
tastytea 2020-12-29 16:07:39 +01:00
parent 75c818bfc2
commit 87b953ee92
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}