diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index c11d4d6..6df076e 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -18,7 +18,7 @@

{{ .Title | markdownify }}

-  {{ $postDate }}{{- if ne $postDate $updateDate }}    {{ $updateDate }}{{ end }} + [{{- $postDate }}]{{- if ne $postDate $updateDate }}->[{{ $updateDate }}]{{ end }}

diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index acc3fd2..7927311 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -3,7 +3,7 @@ {{ if or (.Params.description) (.Params.date) }} {{ if .Params.description }}

{{ .Params.description }}

{{ end }}

- {{ with $postDate }} {{ . }}{{ end }}{{- if ne $postDate $updateDate }}
 {{ $updateDate }}{{ end }} + {{ with $postDate }}{{- if ne $postDate $updateDate }}{{ end }}
Posted:{{ . }}
Updated:{{ $updateDate }}
{{ end }}

{{- with .Params.tags -}}