mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 17:42:09 +00:00
a0cbba8a63
- Language code in <html> tag - Make post list more easily clickable by splitting post URLs and timestamps.
12 lines
274 B
HTML
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>
|