Skip to content

Commit

Permalink
adding project 1 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantanjw committed Sep 18, 2024
1 parent cc16e6b commit 049d8ab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
Binary file added dump.rdb
Binary file not shown.
26 changes: 14 additions & 12 deletions src/meta/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,21 @@ Tags.parse = async (req, data, meta, link) => {
content: Meta.config.themeColor || '#ffffff',
}];

if (Meta.config.keywords && !isAPI) {
defaultTags.push({
name: 'keywords',
content: Meta.config.keywords,
});
}
if (!isAPI) {
if (Meta.config.keywords) {
defaultTags.push({
name: 'keywords',
content: Meta.config.keywords,
});
}

if (Meta.config['brand:logo'] && !isAPI) {
defaultTags.push({
name: 'msapplication-square150x150logo',
content: Meta.config['brand:logo'],
noEscape: true,
});
if (Meta.config['brand:logo']) {
defaultTags.push({
name: 'msapplication-square150x150logo',
content: Meta.config['brand:logo'],
noEscape: true,
});
}
}

const faviconPath = `${relative_path}/assets/uploads/system/favicon.ico`;
Expand Down

0 comments on commit 049d8ab

Please sign in to comment.