From 5a61c76e184d7eda610b92ddcbf0171dd7198721 Mon Sep 17 00:00:00 2001 From: Karolis Strazdas Date: Tue, 6 Oct 2026 11:44:34 +0300 Subject: [PATCH] Improve search metadata and add sitemap for website 1.1.1 --- README.md | 16 ++++++++++++++++ index.html | 41 +++++++++++++++++++++++++++++++++++++---- package-lock.json | 4 ++-- package.json | 4 ++-- robots.txt | 4 ++++ sitemap.xml | 6 ++++++ 6 files changed, 67 insertions(+), 8 deletions(-) create mode 100644 robots.txt create mode 100644 sitemap.xml diff --git a/README.md b/README.md index 7df77f3..aa42e20 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,22 @@ Run `npm test` for the focused theme preference checks and `npm run build` for the static build. Review both themes at 320, 390, 720, 900, 1440 and 1920 pixels, including keyboard navigation, 200% zoom, reduced motion and JavaScript disabled. +## Search indexing + +The homepage includes a descriptive search title, a canonical URL, and JSON-LD +for the Papyrus website and free application. Application platforms describe +the available Windows/Linux downloads and browser app. Ratings and reviews are +omitted until genuine reviews can be displayed; the markup does not yet meet +Google's rating/review requirement for software-app rich results. + +`robots.txt` and `sitemap.xml` are copied to the build root. The sitemap contains +only the canonical homepage; section anchors and the separate app/docs sites +are not additional landing-page URLs. Add future public pages when they exist. + +After deployment, submit `https://papyrus-reader.com/sitemap.xml` in Search +Console and inspect the homepage using **Test live URL** and **Request indexing**. +Google decides when to crawl and how to display the page in search results. + ## Releases and production deployment The public website is served at `https://papyrus-reader.com`; `www` redirects diff --git a/index.html b/index.html index b5a63eb..ab5d1e7 100644 --- a/index.html +++ b/index.html @@ -4,14 +4,15 @@ - Papyrus: Your books, your data, every device + Papyrus: Free, Open-Source E-book Reader & Library Manager + content="Organize physical and digital books with Papyrus, a free, open-source e-book reader and library manager. Read offline or sync across devices."> - + + + content="Organize physical and digital books with Papyrus, a free, open-source e-book reader and library manager. Read offline or sync across devices."> @@ -19,6 +20,38 @@ + diff --git a/package-lock.json b/package-lock.json index e1a2711..21b121f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "papyrus-landing", - "version": "1.1.0", + "version": "1.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "papyrus-landing", - "version": "1.1.0", + "version": "1.1.1", "dependencies": { "serve": "^14.2.5" }, diff --git a/package.json b/package.json index 8f4aa37..64c7627 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "papyrus-landing", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "clean": "rm -rf build", "build:scss": "sass scss/style.scss build/css/style.css --style=compressed --no-source-map", "build:html": "cp index.html build/ && node scripts/stamp-version.js", "build:js": "esbuild js/theme.js js/main.js --minify --outdir=build/js", - "build:assets": "cp -r public build/", + "build:assets": "cp -r public build/ && cp robots.txt sitemap.xml build/", "build": "npm run clean && mkdir -p build/css build/js build/public && npm run build:scss && npm run build:html && npm run build:js && npm run build:assets", "watch:scss": "sass scss/style.scss css/style.css --style=expanded --no-source-map --watch", "dev": "concurrently -n scss,server -c magenta,green \"npm run watch:scss\" \"serve -l 8090\"", diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..4195beb --- /dev/null +++ b/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://papyrus-reader.com/sitemap.xml diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..57dfe3d --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,6 @@ + + + + https://papyrus-reader.com/ + +