feat: seo
This commit is contained in:
parent
a812198a07
commit
57226892ab
6 changed files with 104 additions and 8 deletions
54
index.html
54
index.html
|
|
@ -3,24 +3,66 @@
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||
<title>Monochrome Music</title>
|
||||
<title>Monochrome</title>
|
||||
<link rel="canonical" href="https://monochrome.tf/" />
|
||||
<link rel="alternate" hreflang="en" href="https://monochrome.tf/" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<base href="/" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Monochrome" />
|
||||
<meta name="description" content="A minimalist music streaming application" />
|
||||
<meta name="description" content="Stream and download millions of Hi-Res FLACs, unreleased songs and music videos, all for free on Monochrome." />
|
||||
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
|
||||
<meta name="googlebot" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:site_name" content="Monochrome" />
|
||||
<meta property="og:title" content="Monochrome" />
|
||||
<meta property="og:description" content="Stream and download millions of Hi-Res FLACs, unreleased songs and music videos, all for free on Monochrome." />
|
||||
<meta property="og:url" content="https://monochrome.tf/" />
|
||||
<meta property="og:image" content="https://monochrome.tf/assets/banner.jpg" />
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
<meta property="og:image:alt" content="Monochrome banner" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:url" content="https://monochrome.tf/" />
|
||||
<meta name="twitter:title" content="Monochrome" />
|
||||
<meta name="twitter:description" content="Stream and download millions of Hi-Res FLACs, unreleased songs and music videos, all for free on Monochrome." />
|
||||
<meta name="twitter:image" content="https://monochrome.tf/assets/banner-twitter.jpg" />
|
||||
<meta name="twitter:image:alt" content="Monochrome banner" />
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": "Monochrome",
|
||||
"url": "https://monochrome.tf/",
|
||||
"description": "Stream and download millions of Hi-Res FLACs, unreleased songs and music videos, all for free on Monochrome.",
|
||||
"potentialAction": {
|
||||
"@type": "SearchAction",
|
||||
"target": "https://monochrome.tf/search/{search_term_string}",
|
||||
"query-input": "required name=search_term_string"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebApplication",
|
||||
"name": "Monochrome",
|
||||
"url": "https://monochrome.tf/",
|
||||
"applicationCategory": "MusicApplication",
|
||||
"operatingSystem": "Web Browser",
|
||||
"image": "https://monochrome.tf/assets/logo.svg",
|
||||
"description": "Stream and download millions of Hi-Res FLACs, unreleased songs and music videos, all for free on Monochrome."
|
||||
}
|
||||
</script>
|
||||
<!-- bini's seo thing -->
|
||||
<meta name="ahrefs-site-verification" content="889c6a5c1584832256b87bb36beaa665b40bb6e201582d416f04d074794044ef">
|
||||
|
||||
<!-- Preconnect to critical third-party origins -->
|
||||
<link rel="preconnect" href="https://api.fonts.coollabs.io" crossorigin />
|
||||
<link rel="preconnect" href="https://ws.audioscrobbler.com" crossorigin />
|
||||
<link rel="preconnect" href="https://libre.fm" crossorigin />
|
||||
<link rel="preconnect" href="https://api.listenbrainz.org" crossorigin />
|
||||
<link rel="preconnect" href="https://resources.tidal.com" crossorigin />
|
||||
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />
|
||||
<link rel="preconnect" href="https://unpkg.com" crossorigin />
|
||||
|
||||
<link rel="apple-touch-icon" href="/assets/logo.svg" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
|
|
|
|||
|
|
@ -278,13 +278,13 @@ export class LyricsManager {
|
|||
|
||||
// Load Kuroshiro from CDN
|
||||
if (!window.Kuroshiro) {
|
||||
await this.loadScript('https://unpkg.com/kuroshiro@1.2.0/dist/kuroshiro.min.js');
|
||||
await this.loadScript('https://cdn.jsdelivr.net/npm/kuroshiro@1.2.0/dist/kuroshiro.min.js');
|
||||
}
|
||||
|
||||
// Load Kuromoji analyzer from CDN
|
||||
if (!window.KuromojiAnalyzer) {
|
||||
await this.loadScript(
|
||||
'https://unpkg.com/kuroshiro-analyzer-kuromoji@1.1.0/dist/kuroshiro-analyzer-kuromoji.min.js'
|
||||
'https://cdn.jsdelivr.net/npm/kuroshiro-analyzer-kuromoji@1.1.0/dist/kuroshiro-analyzer-kuromoji.min.js'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
public/assets/banner-twitter.jpg
Normal file
BIN
public/assets/banner-twitter.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
BIN
public/assets/banner.jpg
Normal file
BIN
public/assets/banner.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
11
public/robots.txt
Normal file
11
public/robots.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# robots.txt for https://monochrome.tf/
|
||||
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# Avoid indexing internal endpoints and auth flows.
|
||||
Disallow: /functions/
|
||||
Disallow: /api/
|
||||
Disallow: /auth/
|
||||
|
||||
Sitemap: https://monochrome.tf/sitemap.xml
|
||||
43
public/sitemap.xml
Normal file
43
public/sitemap.xml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://monochrome.tf/</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://monochrome.tf/search</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://monochrome.tf/library</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://monochrome.tf/recent</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://monochrome.tf/podcasts</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://monochrome.tf/unreleased</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://monochrome.tf/parties</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://monochrome.tf/donate</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
Loading…
Reference in a new issue