public BlogPost[] GetPages(string blogId, int maxPages) => StaticSitePage.GetAllPages(Config) .Select(page => page.BlogPost) .OrderByDescending(page => page.DatePublished) .Take(maxPages) .ToArray();
public PageInfo[] GetPageList(string blogId) => StaticSitePage.GetAllPages(Config).Select(page => page.PageInfo).ToArray();