mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-09-21 08:51:01 -04:00
13 lines
342 B
HTML
13 lines
342 B
HTML
<h3>Posts</h3>
|
|
{{ range where .Pages "Section" "posts" }}
|
|
<ul id="posts">
|
|
{{ range .Pages.ByDate.Reverse }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">
|
|
{{- .Title -}}
|
|
<small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|