mirror of
https://github.com/PretendoNetwork/juxtaposition-ui.git
synced 2026-08-24 02:05:26 -05:00
Fixed user page embeds
This commit is contained in:
@@ -24,12 +24,14 @@
|
||||
<%} else if(post.painting !== '') { %>
|
||||
<meta property="og:image" content="https://pretendo-cdn.b-cdn.net/paintings/<%= post.pid %>/<%= post.id %>.png"/>
|
||||
<%}%>
|
||||
<meta property="og:site_name" content="Juxtaposition" />
|
||||
<meta property="og:site_name" content="Juxtaposition - Pretendo Network" />
|
||||
|
||||
<!-- Twitter Meta Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Juxt - Post by <%= post.screen_name %>"/>
|
||||
<meta name="twitter:description" content="<%= community.name %> - <%= post.empathy_count%> Yeahs!"/>
|
||||
<meta name="twitter:title" content=""<%= post.screen_name %> (@<%= postPNID.username %>) - <%= community.name %>"/>
|
||||
<meta name="twitter:description" content="<%= post.body %>
|
||||
|
||||
<%= post.reply_count %> 🗨️ <%= post.empathy_count %> ❤️"/>
|
||||
<meta name="twitter:site" content="@PretendoNetwork"/>
|
||||
<% if(post.screenshot !== '') { %>
|
||||
<meta name="twitter:image" content="https://pretendo-cdn.b-cdn.net<%= post.screenshot %>"/>
|
||||
|
||||
@@ -3,23 +3,20 @@
|
||||
<title>Juxt - <%= pnid.mii.name %></title>
|
||||
<%- include('partials/head'); %>
|
||||
<!-- Google / Search Engine Tags -->
|
||||
<meta itemprop="name" content="Juxt - <%= pnid.mii.name %>">
|
||||
<meta itemprop="name" content="<%= pnid.mii.name %> (@<%= pnid.username %>)">
|
||||
<%if(userSettings.profile_comment_visibility){%><meta itemprop="description" content="<%= userSettings.profile_comment%>"> <%}%>
|
||||
<meta itemprop="image" content="https://pretendo-cdn.b-cdn.net/mii/<%= userSettings.pid %>/smile_open_mouth.png">
|
||||
|
||||
<!-- Open Graph Meta Tags -->
|
||||
<meta property="og:title" content="Juxt - <%= pnid.mii.name %>"/>
|
||||
<meta property="og:title" content="<%= pnid.mii.name %> (@<%= pnid.username %>)"/>
|
||||
<%if(userSettings.profile_comment_visibility){%><meta property="og:description" content="<%= userSettings.profile_comment%>"/><%}%>
|
||||
<meta property="og:url" content="https://juxt.pretendo.network/users/<%= userSettings.pid %>"/>
|
||||
<meta property="og:image" content="https://pretendo-cdn.b-cdn.net/mii/<%= userSettings.pid %>/smile_open_mouth.png"/>
|
||||
<meta property="og:site_name" content="Juxtaposition"/>
|
||||
|
||||
<!-- Twitter Meta Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Juxt - <%= pnid.mii.name %>"/>
|
||||
<meta name="twitter:title" content="<%= pnid.mii.name %> (@<%= pnid.username %>)"/>
|
||||
<%if(userSettings.profile_comment_visibility){%><meta name="twitter:description" content="<%= userSettings.profile_comment%>"/><%}%>
|
||||
<meta name="twitter:site" content="@PretendoNetwork"/>
|
||||
<meta name="twitter:image" content="https://pretendo-cdn.b-cdn.net/mii/<%= userSettings.pid %>/smile_open_mouth.png"/>
|
||||
<meta name="twitter:creator" content="@PretendoNetwork"/>
|
||||
|
||||
</head>
|
||||
@@ -124,7 +121,7 @@
|
||||
<h4 id="user-page-download-tab"><a href="/downloadUserData.json">Download</a></h4>
|
||||
</div>
|
||||
<%}%>
|
||||
<% if (moderator) { %>
|
||||
<% if (moderator && pnid.pid !== pid) { %>
|
||||
<div>
|
||||
<h4 id="user-page-download-tab"><a class="moderate" href="/admin/accounts/<%= pnid.pid %>">Moderate User</a></h4>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user