12 lines
270 B
HTML
12 lines
270 B
HTML
{{ define "main" }}
|
|
{{ .Content }}
|
|
|
|
{{ i18n "recentPosts" }}:
|
|
<ul class="post-list">
|
|
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
|
|
{{ partial "post.html" (dict "page" .) }}
|
|
{{ end }}
|
|
</ul>
|
|
|
|
{{ end }}
|