%
function relatedPostsInTopic() {
if (page.topic?.length == 0) {
return ''
}
const topic = theme.topic.tree[page.topic]
if (topic == null) {
return ''
}
var el = ''
el += ``
el += `
`
el += `${__('btn.topic') + __('symbol.colon') + topic.name}`
el += `
`
el += ``
return el
}
function relatedWiki() {
let thisItemObject = theme.wiki.tree[page.wiki]
if (thisItemObject == null) {
return ''
}
const relatedItems = thisItemObject.relatedItems
var el = ''
for (let relatedItem of relatedItems) {
el += ``
el += `
`
el += `${__('meta.more', relatedItem.name)}`
el += `