You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
365 B
HTML
16 lines
365 B
HTML
3 years ago
|
{{ define "main" }}
|
||
|
|
||
|
{{ .Content }}
|
||
|
<ul>
|
||
|
{{ with .Site.GetPage "/posts" }}
|
||
|
{{ range first 3 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}
|
||
|
<li>
|
||
|
{{ .PublishDate.Format "2006-01-02" }} –
|
||
|
<a href="{{ .Permalink }}" >{{ .Title }}</a><br>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ end }}
|