From 03d967e0736d2057651c050530d2ea7d9138e88f Mon Sep 17 00:00:00 2001 From: nobswebdev Date: Thu, 26 Nov 2026 11:58:25 +0000 Subject: [PATCH] Add basic SEO metadata, sitemap, and robots.txt for crawlers. --- index.html | 34 ++++++++++++++++++++++++++++++++-- nginx/Dockerfile.prod | 2 +- robots.txt | 4 ++++ sitemap.xml | 6 ++++++ 4 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 robots.txt create mode 100644 sitemap.xml diff --git a/index.html b/index.html index d327732..c1ea5e5 100644 --- a/index.html +++ b/index.html @@ -5,9 +5,39 @@ - NullCart - free self-hosted crypto shop + NullCart - free and open source crypto shop + + + + + + + + + + + + diff --git a/nginx/Dockerfile.prod b/nginx/Dockerfile.prod index 70dba36..c0ead42 100644 --- a/nginx/Dockerfile.prod +++ b/nginx/Dockerfile.prod @@ -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/ diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..1453edb --- /dev/null +++ b/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://nullcart.net/sitemap.xml diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..ae3fdd0 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,6 @@ + + + + https://nullcart.net/ + +