web/layout: add og:url & application name to head
This commit is contained in:
parent
08c34762e9
commit
30bcad0ba4
2 changed files with 7 additions and 2 deletions
|
@ -3,11 +3,12 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="viewport-fit=cover, width=device-width, height=device-height, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="viewport-fit=cover, width=device-width, height=device-height, initial-scale=1, maximum-scale=1">
|
||||||
|
<meta name="application-name" content="cobalt">
|
||||||
%sveltekit.head%
|
|
||||||
<meta name="og:type" content="article">
|
<meta name="og:type" content="article">
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
|
|
||||||
|
%sveltekit.head%
|
||||||
|
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<meta name="apple-mobile-web-app-title" content="cobalt">
|
<meta name="apple-mobile-web-app-title" content="cobalt">
|
||||||
|
|
|
@ -42,6 +42,10 @@
|
||||||
<meta name="description" content={$t("general.embed.description")}>
|
<meta name="description" content={$t("general.embed.description")}>
|
||||||
<meta property="og:description" content={$t("general.embed.description")}>
|
<meta property="og:description" content={$t("general.embed.description")}>
|
||||||
|
|
||||||
|
{#if env.HOST}
|
||||||
|
<meta property="og:url" content="https://{env.HOST}/">
|
||||||
|
{/if}
|
||||||
|
|
||||||
{#if device.is.mobile}
|
{#if device.is.mobile}
|
||||||
<meta name="theme-color" content={statusBarColors[$currentTheme]} />
|
<meta name="theme-color" content={statusBarColors[$currentTheme]} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue