Parcourir la source

Make the site more editorial

master
nano il y a 6 jours
Parent
révision
8918766eee
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. +3
    -0
      app/controllers/HomeController.asp

+ 3
- 0
app/controllers/HomeController.asp Voir le fichier

@@ -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" -->
<%


Chargement…
Annuler
Enregistrer

Powered by TurnKey Linux.