mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-12 19:12:18 +00:00
archive: just display last updated date on categories and slashes
This commit is contained in:
parent
031f86d0a9
commit
d19ac0c35d
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
|||
<header class="post__header">
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
<p class="post__meta">
|
||||
<span class="date">["{{- $postDate }}"{{- if ne $postDate $updateDate }}, "{{ $updateDate }}"{{ end }}]</span>
|
||||
<span class="date">["{{ with $updateDate }}{{ . }}{{ else }}{{ .Date }}{{ end }}"]</span>
|
||||
</p>
|
||||
</header>
|
||||
<section class="post__summary">
|
||||
|
@ -57,7 +57,7 @@
|
|||
<header class="post__header">
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
<p class="post__meta">
|
||||
<span class="date">["{{- $postDate }}"{{- if ne $postDate $updateDate }}, "{{ $updateDate }}"{{ end }}]</span>
|
||||
<span class="date">["{{ with $updateDate }}{{ . }}{{ else }}{{ $postDate }}{{ end }}"]</span>
|
||||
</p>
|
||||
</header>
|
||||
<section class="post__summary">
|
||||
|
|
Loading…
Reference in a new issue