lua is gross but that's only for the index

you could just make a file page.lua and then it would be run with whatever your shebang was