mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +00:00
5 lines
282 B
HTML
5 lines
282 B
HTML
{{ range .Pages.ByPublishDate.Reverse }}
|
|
<li class="post-item">
|
|
<span><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></span>{{ if .Params.date }} - <span>{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }}</span>{{ end }}
|
|
</li>
|
|
{{ end }}
|