mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 03:37:53 +01:00
community tabss!!!
This commit is contained in:
parent
2a00bce151
commit
6b725c7f82
1 changed files with 11 additions and 3 deletions
|
@ -139,6 +139,12 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
var tj = await getJson(a);
|
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);
|
const summary = await wiki.summary(k.Channel.Metadata.Name);
|
||||||
|
|
||||||
var w = "";
|
var w = "";
|
||||||
|
@ -163,10 +169,12 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
}
|
}
|
||||||
|
|
||||||
renderTemplate(res, req, "channel.ejs", {
|
renderTemplate(res, req, "channel.ejs", {
|
||||||
ID: ID,
|
ID,
|
||||||
tab: tab,
|
tab,
|
||||||
j: k,
|
j: k,
|
||||||
tj: tj,
|
tj,
|
||||||
|
c,
|
||||||
|
convert,
|
||||||
turntomins,
|
turntomins,
|
||||||
dnoreplace: dnoreplace,
|
dnoreplace: dnoreplace,
|
||||||
continuation: continuation,
|
continuation: continuation,
|
||||||
|
|
Loading…
Reference in a new issue