Add basic SEO metadata, sitemap, and robots.txt for crawlers.

This commit is contained in:
2026-11-26 11:58:25 +00:00
parent 9042c38490
commit 03d967e073
4 changed files with 43 additions and 3 deletions
+32 -2
View File
@@ -5,9 +5,39 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="NullCart - free, self-hosted, privacy-focused crypto shop. Sell on clearnet and Tor."
content="NullCart - free and open source crypto shop."
/>
<title>NullCart - free self-hosted crypto shop</title>
<title>NullCart - free and open source crypto shop</title>
<link rel="canonical" href="https://nullcart.net/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="NullCart" />
<meta property="og:url" content="https://nullcart.net/" />
<meta property="og:title" content="NullCart - free and open source crypto shop" />
<meta
property="og:description"
content="NullCart - free and open source crypto shop."
/>
<meta property="og:image" content="https://nullcart.net/assets/hero_mockup.png" />
<meta property="og:image:width" content="1024" />
<meta property="og:image:height" content="562" />
<meta property="og:image:alt" content="NullCart storefront on desktop and mobile" />
<meta name="twitter:card" content="summary_large_image" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "NullCart",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Open source",
"url": "https://nullcart.net/",
"description": "NullCart - free and open source crypto shop.",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
}
}
</script>
<link rel="icon" href="assets/favicon.png" type="image/png" />
<link rel="stylesheet" href="css/styles.css" />
</head>
+1 -1
View File
@@ -3,7 +3,7 @@ FROM nginx:alpine
RUN apk add --no-cache gettext \
&& rm /etc/nginx/conf.d/default.conf
COPY index.html /usr/share/nginx/html/
COPY index.html robots.txt sitemap.xml /usr/share/nginx/html/
COPY css/ /usr/share/nginx/html/css/
COPY assets/ /usr/share/nginx/html/assets/
+4
View File
@@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://nullcart.net/sitemap.xml
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://nullcart.net/</loc>
</url>
</urlset>