umbraco / The-Starter-Kit

31 stars 36 forks source link

LatestBlogposts.cshtml macro numberOfPosts parameter is limited to 3 #30

Closed rudgr closed 7 years ago

rudgr commented 7 years ago

because of hardcoded:

var blogposts = startNode.Children.OrderByDescending(x => x.CreateDate).Take(3);

numberOfPosts param is never used.

or is this intentionally?

rudgr commented 7 years ago

submitted PR: https://github.com/umbraco/The-Starter-Kit/pull/31