adityakumar.xyz/layouts/partials/blog/li.html

7 lines
274 B
HTML
Raw Normal View History

2023-06-11 10:24:55 +00:00
{{ 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 }}