1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-18 06:42:10 +00:00
seirdy.one/themes/etch-custom/layouts/partials/posts.html
rohan kumar a0cbba8a63
Template accessibility fixes
- Language code in <html> tag
- Make post list more easily clickable by splitting post URLs and
  timestamps.
2020-11-24 17:08:28 -08:00

12 lines
274 B
HTML

<h3>Posts</h3>
<ul id="posts">
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
<li>
<time>{{ .Date.Format "Jan 2, 2006" }}</time>
<br>
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</li>
{{- end }}
</ul>