summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-06-15 14:26:59 +0200
committerYuval Adam <_@yuv.al>2025-06-15 14:26:59 +0200
commit600f54c92b4a9173246e37ccbe13c6aaff4992ca (patch)
treeb862e5221dbfa0f97900a0816936cd7106167cf8 /src
parentc529297129e7f532c6d428ce6428cb5f34b2ca6d (diff)
Use proper astro url
Diffstat (limited to 'src')
-rw-r--r--src/pages/index.astro7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro
index afc872e..21f7cd9 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -15,7 +15,6 @@ const candidates = allNames.filter((name) => name.data.candidate === true);
const title = "Domain Name Hack Club";
const description =
"An exclusive club of nerds that own the domain hack to their name";
-const url = "https://namehack.club";
---
<!doctype html>
@@ -32,16 +31,16 @@ const url = "https://namehack.club";
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="index, follow" />
<meta name="author" content="Yuval Adam" />
- <link rel="canonical" href={url} />
+ <link rel="canonical" href={Astro.url} />
<meta property="og:type" content="website" />
- <meta property="og:url" content={url} />
+ <meta property="og:url" content={Astro.url} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:site_name" content={title} />
<meta name="twitter:card" content="summary" />
- <meta name="twitter:url" content={url} />
+ <meta name="twitter:url" content={Astro.url} />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:creator" content="@yuvadm" />