Browse Source

Make the site more editorial

master
nano 2 months ago
parent
commit
8918766eee
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/controllers/HomeController.asp

+ 3
- 0
app/controllers/HomeController.asp View File

@@ -25,6 +25,9 @@ Class HomeController_Class
End Property End Property


Public Sub index() Public Sub index()
Dim posts, categories
Set posts = PostsRepository().FindAllWhere("IsPublished = 1", "PublishedDate DESC", 0, 5)
Set categories = CategoriesRepository().Find(Empty, "Name")
%> %>
<!--#include file="../views/Home/index.asp" --> <!--#include file="../views/Home/index.asp" -->
<% <%


Loading…
Cancel
Save

Powered by TurnKey Linux.