again, remote notes from recent

This commit is contained in:
Erik Winter 2021-01-18 07:25:31 +01:00
parent bc71f3bb44
commit 847cb6b115
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func renderEWNLStaticPages(targetPath string, tpl *template.Template, _ Posts, s
func renderEWNLHome(targetPath string, tpl *template.Template, posts Posts, _ []*StaticPage) error {
var summaries []*HTMLSummary
for _, p := range posts.Limit(10) {
for _, p := range posts.RemoveKind(KIND_NOTE).Limit(10) {
summaries = append(summaries, p.HTMLSummary())
}
data := struct {