forked from creations/profilePage
fix ip log issue, make changes to embed
This commit is contained in:
parent
23f37beef3
commit
b109f67125
2 changed files with 15 additions and 9 deletions
|
@ -5,9 +5,14 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<meta property="og:title" content="<%= username %>'s Presence">
|
||||
<%
|
||||
const displayName = username.endsWith('s') ? `${username}'` : `${username}'s`;
|
||||
const profileUrl = `https://discord.com/users/${user.id}`;
|
||||
%>
|
||||
<meta property="og:title" content="<%= displayName %> Discord Presence">
|
||||
<meta property="og:description" content="<%= activities?.[0]?.state || 'See what ' + displayName + ' is doing on Discord.' %>">
|
||||
<meta property="og:image" content="https://cdn.discordapp.com/avatars/<%= user.id %>/<%= user.avatar %>">
|
||||
<meta property="og:description" content="<%= activities[0]?.state || 'Discord Presence' %>">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
|
||||
<title><%= title %></title>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue