mirror of
https://github.com/vale981/smol
synced 2025-03-04 17:11:38 -05:00
dates for lists
This commit is contained in:
parent
61bc320784
commit
7ea0a1e26b
1 changed files with 21 additions and 21 deletions
|
@ -12,7 +12,7 @@
|
|||
{{ range .Paginator.Pages }}
|
||||
<li>
|
||||
<div class="post-title">
|
||||
{{ if eq $listtitle "Posts" }}
|
||||
{{ if not (or (eq $listtitle "Categories") (eq $listtitle "Tags")) }}
|
||||
{{ .Date.Format "2006-01-02" }} <a href="{{ .RelPermalink }}">{{.Title }}</a>
|
||||
{{ else }}
|
||||
<a href="{{ .RelPermalink }}">{{.Title }}</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue