feat(seo): meta description, Open Graph tags and robots.txt
The public landing had no meta description and no robots.txt (the SPA fallback returned index.html for /robots.txt, so crawlers saw an invalid file). Add a description + basic OG tags to index.html and a real robots.txt that allows the landing but disallows the API/auth/watch surfaces. Lighthouse (dev): SEO 83->100.
This commit is contained in:
parent
a07fd82ad6
commit
2a8d5c0a1e
2 changed files with 17 additions and 0 deletions
|
|
@ -5,6 +5,16 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<title>Siftlode</title>
|
<title>Siftlode</title>
|
||||||
|
<meta
|
||||||
|
name="description"
|
||||||
|
content="Siftlode is a self-hosted, multi-user reader for your YouTube subscriptions — filter, sort, tag and search your feed, build playlists that sync both ways, and watch in a clean, ad-free interface."
|
||||||
|
/>
|
||||||
|
<meta property="og:title" content="Siftlode" />
|
||||||
|
<meta
|
||||||
|
property="og:description"
|
||||||
|
content="A self-hosted, multi-user reader for your YouTube subscriptions — filter, sort, tag and search, build two-way-syncing playlists, and watch ad-free."
|
||||||
|
/>
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
|
||||||
7
frontend/public/robots.txt
Normal file
7
frontend/public/robots.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Siftlode is mostly a private, login-gated app; only the public landing and legal
|
||||||
|
# pages are worth indexing. Allow crawling but keep bots out of the API surface.
|
||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
Disallow: /api/
|
||||||
|
Disallow: /auth/
|
||||||
|
Disallow: /watch/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue