mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42:19 +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">
|
<header class="post__header">
|
||||||
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||||
<p class="post__meta">
|
<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>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<section class="post__summary">
|
<section class="post__summary">
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
<header class="post__header">
|
<header class="post__header">
|
||||||
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||||
<p class="post__meta">
|
<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>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<section class="post__summary">
|
<section class="post__summary">
|
||||||
|
|
Loading…
Reference in a new issue