Comparison

mod_http_index/mod_http_index.lua @ 3577:f169d9a513c6

mod_http_index: Improve page title
author Kim Alvefur <zash@zash.se>
date Sun, 05 May 2019 10:24:53 +0200
parent 3336:4af114684e0a
child 3752:8992f84ca870
comparison
equal deleted inserted replaced
3576:1396ce148073 3577:f169d9a513c6
38 end 38 end
39 end 39 end
40 table.sort(http_apps, function (a, b) return a.name < b.name; end); 40 table.sort(http_apps, function (a, b) return a.name < b.name; end);
41 event.response.headers.content_type = "text/html"; 41 event.response.headers.content_type = "text/html";
42 return render(base_template, { 42 return render(base_template, {
43 title = "HTTP Apps"; 43 title = "Prosody IM - HTTP Services";
44 items = http_apps; 44 items = http_apps;
45 prosody_version = prosody.version; 45 prosody_version = prosody.version;
46 mod_name = module.name; 46 mod_name = module.name;
47 canonical = canonical; 47 canonical = canonical;
48 }); 48 });