fix: improve opengraph tags

This commit is contained in:
dusk 2024-08-15 14:57:06 +03:00
parent a63ad492eb
commit 755c578e98
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
2 changed files with 6 additions and 2 deletions

View File

@ -46,7 +46,6 @@
<meta property="og:title" content={title} /> <meta property="og:title" content={title} />
<meta property="og:site_name" content="gaze.systems"/> <meta property="og:site_name" content="gaze.systems"/>
<meta property="og:url" content="https://gaze.systems/"/> <meta property="og:url" content="https://gaze.systems/"/>
<meta property="og:type" content="website" />
<meta property="og:image" content="https://gaze.systems/icons/gaze_website.png" /> <meta property="og:image" content="https://gaze.systems/icons/gaze_website.png" />
</svelte:head> </svelte:head>

View File

@ -3,9 +3,14 @@
import "../../styles/app.css"; import "../../styles/app.css";
export let title; export let title;
export let date; export let excerpt;
</script> </script>
<svelte:head>
<meta property="og:description" content={excerpt} />
<meta property="og:type" content="article" />
</svelte:head>
<div class="lg:mb-[8vh]"> <div class="lg:mb-[8vh]">
<Window {title} iconUri='/icons/entry.png'> <Window {title} iconUri='/icons/entry.png'>
<div class="prose prose-ralsei max-w-[80ch]"> <div class="prose prose-ralsei max-w-[80ch]">