local etlua = require "etlua" local utils = require "utils" local yqtemplateform = utils.readfile("yqform.etlua") local form = etlua.compile(yqtemplateform) return { desc = "Creates Yokoka’s quest-style personal status page", run = function(fcgi) fcgi.print("Content-Type: text/html; charset=utf-8\r\n\r\n") local data = fcgi.post() fcgi.print(form({data = data})) end }