absolute urls
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2023-08-05 17:37:57 -03:00
parent f1f1f308e7
commit c9186b19d7

View file

@ -62,19 +62,25 @@ export async function render(data) {
<title>{meta.title}</title> <title>{meta.title}</title>
<meta name="description" content={meta.description} /> <meta name="description" content={meta.description} />
<link rel="icon" href="assets/img/favicon.svg" /> <link rel="icon" href={`${meta.url}assets/img/favicon.svg`} />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content={meta.url} /> <meta property="og:url" content={meta.url} />
<meta property="og:title" content={meta.title} /> <meta property="og:title" content={meta.title} />
<meta property="og:description" content={meta.description} /> <meta property="og:description" content={meta.description} />
<meta property="og:image" content="assets/img/screenshot.png" /> <meta
property="og:image"
content={`${meta.url}assets/img/screenshot.png`}
/>
<meta property="twitter:card" content="summary_large_image" /> <meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content={meta.url} /> <meta property="twitter:url" content={meta.url} />
<meta property="twitter:title" content={meta.title} /> <meta property="twitter:title" content={meta.title} />
<meta property="twitter:description" content={meta.description} /> <meta property="twitter:description" content={meta.description} />
<meta property="twitter:image" content="assets/img/screenshot.png" /> <meta
property="twitter:image"
content={`${meta.url}assets/img/screenshot.png`}
/>
<style dangerouslySetInnerHTML={{ __html: css }}></style> <style dangerouslySetInnerHTML={{ __html: css }}></style>
</head> </head>