diff --git a/app/controllers/HomeController.asp b/app/controllers/HomeController.asp index ddee9c4..358f061 100644 --- a/app/controllers/HomeController.asp +++ b/app/controllers/HomeController.asp @@ -25,6 +25,9 @@ Class HomeController_Class End Property Public Sub index() + Dim posts, categories + Set posts = PostsRepository().FindAllWhere("IsPublished = 1", "PublishedDate DESC", 0, 5) + Set categories = CategoriesRepository().Find(Empty, "Name") %> <%