Skip to content

Commit 5f66472

Browse files
kpythonclaude
andcommitted
Improve SEO: title, meta description, Open Graph, hreflang, JSON-LD
- Add page_title and meta_description keys to all 5 locales - Set descriptive page title: "Secret Santa Draw — No Account, No Ads, Free" - Add meta description tag (148 chars, fits Google snippet) - Add Open Graph and Twitter Card tags for social sharing - Add hreflang alternate links for en/fr/de/pt/it + x-default - Add JSON-LD WebApplication structured data schema Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 838ec2a commit 5f66472

6 files changed

Lines changed: 43 additions & 1 deletion

File tree

locales/de.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"page_title": "Secret Santa Draw — Kostenlos, Kein Konto",
3+
"meta_description": "Organisiere deinen Wichtel einfach! Kein Konto, keine Werbung — ein einfacher Weg für Familie und Freunde, Wünsche zu teilen und die Überraschung zu genießen.",
24
"app_title": "Secret Santa",
35
"app_description": "Organisieren Sie Ihren Secret Santa einfach und haben Sie Spaß dabei! Keine Konten, keine Werbung, kein Ärger, nur eine einfache Möglichkeit für Ihre Familie und Freunde, teilzunehmen, ihre Wünsche zu teilen und die Überraschung zu genießen.",
46
"how_it_works": "So funktioniert's",

locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"page_title": "Secret Santa Draw — No Account, No Ads, Free",
3+
"meta_description": "Organize your Secret Santa easily! No accounts, no ads, no hassle — a simple way for your family and friends to share wishes and enjoy the surprise.",
24
"app_title": "Secret Santa",
35
"app_description": "Organize your Secret Santa easily and have fun doing it! No accounts, no ads, no hassle, just a simple way for your family and friends to join, share their wishes, and enjoy the surprise.",
46
"how_it_works": "How it works",

locales/fr.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"page_title": "Secret Santa Draw — Gratuit, Sans Inscription",
3+
"meta_description": "Organisez votre Secret Santa facilement ! Sans compte, sans pub — un moyen simple pour famille et amis de partager leurs souhaits et vivre la surprise.",
24
"app_title": "Secret Santa",
35
"app_description": "Organisez votre Secret Santa facilement et amusez-vous ! Pas de compte, pas de publicité, pas de tracas, juste un moyen simple pour votre famille et vos amis de participer, partager leurs souhaits et profiter de la surprise.",
46
"how_it_works": "Comment ça marche",

locales/it.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"page_title": "Secret Santa Draw — Gratuito, Senza Account",
3+
"meta_description": "Organizza il tuo Secret Santa facilmente! Nessun account, nessuna pubblicità — un modo semplice per condividere desideri e godersi la sorpresa.",
24
"app_title": "Secret Santa",
35
"app_description": "Organizza il tuo Secret Santa facilmente e divertiti! Nessun account, nessuna pubblicità, nessun problema, solo un modo semplice per la tua famiglia e amici di partecipare, condividere i desideri e godersi la sorpresa.",
46
"how_it_works": "Come funziona",

locales/pt.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"page_title": "Secret Santa Draw — Grátis, Sem Cadastro",
3+
"meta_description": "Organize seu Secret Santa facilmente! Sem conta, sem anúncios — uma forma simples para família e amigos compartilharem desejos e aproveitar a surpresa.",
24
"app_title": "Secret Santa",
35
"app_description": "Organize seu Secret Santa facilmente e divirta-se! Sem contas, sem anúncios, sem complicações, apenas uma maneira simples para sua família e amigos participarem, compartilharem seus desejos e aproveitarem a surpresa.",
46
"how_it_works": "Como funciona",

templates/create_event.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,45 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>{{index .T "title_create_draw"}}</title>
6+
<title>{{index .T "page_title"}}</title>
7+
<meta name="description" content="{{index .T "meta_description"}}">
8+
<meta property="og:title" content="{{index .T "page_title"}}">
9+
<meta property="og:description" content="{{index .T "meta_description"}}">
10+
<meta property="og:type" content="website">
11+
{{if .Canonical}}<meta property="og:url" content="{{.Canonical}}">{{end}}
12+
<meta property="og:image" content="https://secret-santa-draw.app/static/santa.svg">
13+
<meta name="twitter:card" content="summary">
14+
<meta name="twitter:title" content="{{index .T "page_title"}}">
15+
<meta name="twitter:description" content="{{index .T "meta_description"}}">
716
{{if .Canonical}}<link rel="canonical" href="{{.Canonical}}">{{end}}
17+
<link rel="alternate" hreflang="en" href="{{.Canonical}}?lang=en">
18+
<link rel="alternate" hreflang="fr" href="{{.Canonical}}?lang=fr">
19+
<link rel="alternate" hreflang="de" href="{{.Canonical}}?lang=de">
20+
<link rel="alternate" hreflang="pt" href="{{.Canonical}}?lang=pt">
21+
<link rel="alternate" hreflang="it" href="{{.Canonical}}?lang=it">
22+
<link rel="alternate" hreflang="x-default" href="{{.Canonical}}">
823
<link rel="icon" href="/static/santa-hat.png" type="image/png">
924
<link rel="preconnect" href="https://fonts.googleapis.com">
1025
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1126
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lato:wght@400;500;700&display=swap">
1227
<link rel="stylesheet" href="/static/style.css">
28+
<script type="application/ld+json">
29+
{
30+
"@context": "https://schema.org",
31+
"@type": "WebApplication",
32+
"name": "Secret Santa Draw",
33+
"url": "https://secret-santa-draw.app",
34+
"description": "{{index .T "meta_description"}}",
35+
"applicationCategory": "UtilitiesApplication",
36+
"operatingSystem": "All",
37+
"inLanguage": ["en", "fr", "de", "pt", "it"],
38+
"offers": {
39+
"@type": "Offer",
40+
"price": "0",
41+
"priceCurrency": "USD"
42+
}
43+
}
44+
</script>
1345
</head>
1446
<body>
1547
<div class="snowflakes" aria-hidden="true">

0 commit comments

Comments
 (0)