adityakumar.xyz/layouts/partials/blog/li.html
2023-06-11 15:54:55 +05:30

6 lines
274 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 ":date_medium") }}</span>{{ end }}
</li>
{{ end }}