[opt] remove topic’s logo

This commit is contained in:
xaoxuu 2024-01-21 22:28:35 +08:00
parent afb0e5f734
commit cf907f014e
1 changed files with 0 additions and 12 deletions

View File

@ -14,18 +14,6 @@ if (page.logo) {
subtitle: proj.subtitle subtitle: proj.subtitle
} }
} }
} else if (theme.topic.tree[page.topic]) {
const topic = theme.topic.tree[page.topic]
var l = topic.logo
if (l) {
logo = l
} else if (topic.name || topic.icon) {
logo = {
icon: topic.icon || theme.default.topic,
title: `[${topic.name || topic.title}](${url_for(topic.homepage?.path || '')})`,
subtitle: topic.subtitle
}
}
} }
// logo.icon, logo.title, logo.subtitle, logo.url // logo.icon, logo.title, logo.subtitle, logo.url