Sfoglia il codice sorgente

Make the site more editorial

master
nano 6 giorni fa
parent
commit
8918766eee
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      app/controllers/HomeController.asp

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

@@ -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")
%>
<!--#include file="../views/Home/index.asp" -->
<%


Loading…
Annulla
Salva

Powered by TurnKey Linux.