浏览代码

Make the site more editorial

master
nano 6 天前
父节点
当前提交
8918766eee
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      app/controllers/HomeController.asp

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


正在加载...
取消
保存

Powered by TurnKey Linux.