community tabss!!!

This commit is contained in:
Ashley 2022-12-10 07:46:23 +00:00
parent 9e131fd7dd
commit 212aa50bbf

View file

@ -139,6 +139,12 @@ module.exports = function (app, config, renderTemplate) {
var tj = await getJson(a);
const community = await modules.fetch(`${config.invapi}/channels/community/${ID}/`).then((res) =>
res.text()
);
var c = await getJson(community);
const summary = await wiki.summary(k.Channel.Metadata.Name);
var w = "";
@ -163,10 +169,12 @@ module.exports = function (app, config, renderTemplate) {
}
renderTemplate(res, req, "channel.ejs", {
ID: ID,
tab: tab,
ID,
tab,
j: k,
tj: tj,
tj,
c,
convert,
turntomins,
dnoreplace: dnoreplace,
continuation: continuation,