diff --git a/blog/Makefile b/blog/Makefile index a1ff7b8..950c1c0 100644 --- a/blog/Makefile +++ b/blog/Makefile @@ -1,4 +1,4 @@ -copyfiles = assets views models ai controllers router.lua +copyfiles = assets views models controllers router.lua main: - mkdir -p $(BUILDDIR) diff --git a/blog/router.lua b/blog/router.lua index 0cb768a..691517c 100644 --- a/blog/router.lua +++ b/blog/router.lua @@ -23,7 +23,7 @@ CONTROLLER_ROOT = "blog.controllers" MODEL_ROOT = "blog.models" -- file path: path/to/file VIEW_ROOT = WWW_ROOT..DIR_SEP.."views" -POST_LIMIT = 3 +POST_LIMIT = 10 if REQUEST.r then REQUEST.r = REQUEST.r:gsub("%:", "/") diff --git a/grs/Makefile b/grs/Makefile index c48c4c0..46d8ee9 100644 --- a/grs/Makefile +++ b/grs/Makefile @@ -1,4 +1,4 @@ -copyfiles = katex font-awesome.css fonts images sendmail.lua subscribe.lua subscribe.html main.js ubuntu-regular.css mainsite.css sendto.html hermit-light.css hljs +copyfiles = katex font-awesome.css fonts images subscribe.html mainsite.css sendto.html hermit-light.css hljs main: - mkdir $(BUILDDIR)