remove stories from recent
This commit is contained in:
parent
3029e0a5e4
commit
93e1a33406
|
@ -48,7 +48,7 @@ func renderEWNLStaticPages(targetPath string, tpl *template.Template, _ Posts, s
|
||||||
|
|
||||||
func renderEWNLHome(targetPath string, tpl *template.Template, posts Posts, _ []*StaticPage) error {
|
func renderEWNLHome(targetPath string, tpl *template.Template, posts Posts, _ []*StaticPage) error {
|
||||||
var summaries []*HTMLSummary
|
var summaries []*HTMLSummary
|
||||||
for _, p := range posts.RemoveKind(KIND_NOTE).Limit(10) {
|
for _, p := range posts.RemoveKind(KIND_NOTE).RemoveKind(KIND_STORY).Limit(10) {
|
||||||
summaries = append(summaries, p.HTMLSummary())
|
summaries = append(summaries, p.HTMLSummary())
|
||||||
}
|
}
|
||||||
data := struct {
|
data := struct {
|
||||||
|
|
Loading…
Reference in New Issue