forked from FoundKeyGang/FoundKey
Fix og:image on user page (#2972)
This commit is contained in:
parent
167648f61c
commit
e95845777a
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ extends ../../../../src/client/app/base
|
||||||
block vars
|
block vars
|
||||||
- const title = user.name ? `${user.name} (@${user.username})` : `@${user.username}`;
|
- const title = user.name ? `${user.name} (@${user.username})` : `@${user.username}`;
|
||||||
- const url = `${config.url}/@${(user.host ? `${user.username}@${user.host}` : user.username)}`;
|
- const url = `${config.url}/@${(user.host ? `${user.username}@${user.host}` : user.username)}`;
|
||||||
- const img = user.avatarId ? `${config.drive_url}/${user.avatarId}` : null;
|
- const img = user.avatarUrl || null;
|
||||||
|
|
||||||
block title
|
block title
|
||||||
= `${title} | ${config.name}`
|
= `${title} | ${config.name}`
|
||||||
|
|
Loading…
Reference in a new issue