updated tags for embed

This commit is contained in:
CaramelKat
2021-09-05 23:02:05 -05:00
committed by jay.poff@outlook.com
parent 190713238b
commit 7684e475b5

View File

@@ -19,11 +19,12 @@
<meta content="https://portal.olv.pretendo.cc/posts/<%= post.id %>" property="og:url" />
<meta content="#1F8A42" data-react-helmet="true" name="theme-color" />
<link type="application/json+oembed" href="/<%= post.id %>/oembed.json" />
<meta name="twitter:card" content="summary_large_image" />
<% if(post.screenshot !== '') { %>
<meta name="twitter:image" content="https://portal.cdn.pretendo.cc/screenshot/<%= post.id %>.png">
<meta property="og:image" content="https://portal.cdn.pretendo.cc/screenshot/<%= post.id %>.png" />
<%}%>
<% if(post.painting !== '') { %>
<meta name="twitter:image" content="https://portal.cdn.pretendo.cc/drawing/<%= post.id %>.png">
<meta property="og:image" content="https://portal.cdn.pretendo.cc/drawing/<%= post.id %>.png" />
<%}%>
</head>
<body>