mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-24 11:52:19 +00:00
fix date display
This commit is contained in:
parent
17b9fd30ab
commit
24bd97cb1e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
{{ if or (.Params.description) (.Params.date) }}
|
||||
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
||||
<p>
|
||||
{{ with $postDate }}<table><tr><td>posted:</td><td>{{ . }}</td></tr>{{- if ne $postDate $updateDate }}<tr><td>updated:</td><td>{{ $updateDate }}</td></tr>{{ end }}</table>{{ end }}
|
||||
{{ if .Params.date }}<table><tr><td>posted:</td><td>{{ $postDate }}</td></tr>{{- if ne $postDate $updateDate }}<tr><td>updated:</td><td>{{ $updateDate }}</td></tr>{{ end }}</table>{{ end }}
|
||||
</p>
|
||||
<p>
|
||||
{{- with .Params.tags -}}
|
||||
|
|
Loading…
Reference in a new issue