mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-18 02:32:27 +00:00
Merge pull request #3054 from element-hq/robin/og-brand
Use the configured brand name in OpenGraph tags
This commit is contained in:
@@ -8,26 +8,26 @@
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
|
||||
/>
|
||||
<title><%- title %></title>
|
||||
<title><%- brand %></title>
|
||||
<script>
|
||||
window.global = window;
|
||||
</script>
|
||||
|
||||
<!-- Open graph meta tags -->
|
||||
|
||||
<meta property="og:title" content="<%- title %>" />
|
||||
<meta property="og:title" content="<%- brand %>" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="You're invited to join a call on Element Call"
|
||||
content="You're invited to join a call on <%- brand %>"
|
||||
/>
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="favicon.png" />
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="<%- title %>" />
|
||||
<meta name="twitter:title" content="<%- brand %>" />
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content="You're invited to join a call on Element Call"
|
||||
content="You're invited to join a call on <%- brand %>"
|
||||
/>
|
||||
<meta name="twitter:image" content="favicon.png" />
|
||||
</head>
|
||||
|
||||
@@ -29,7 +29,7 @@ export default defineConfig(({ mode }) => {
|
||||
}),
|
||||
htmlTemplate.default({
|
||||
data: {
|
||||
title: env.VITE_PRODUCT_NAME || "Element Call",
|
||||
brand: env.VITE_PRODUCT_NAME || "Element Call",
|
||||
},
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user