Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
41 changes: 37 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,54 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Papyrus: Your books, your data, every device</title>
<title>Papyrus: Free, Open-Source E-book Reader &amp; Library Manager</title>
<meta name="description"
content="A free, open-source e-book reader and library manager. No subscriptions. No tracking. No lock-in.">
content="Organize physical and digital books with Papyrus, a free, open-source e-book reader and library manager. Read offline or sync across devices.">
<meta name="theme-color" content="#FFFBFF" id="meta-theme-color">
<meta name="color-scheme" content="light dark">
<meta property="og:title" content="Papyrus: Your books, your data, every device">
<meta property="og:title" content="Papyrus: Free, Open-Source E-book Reader &amp; Library Manager">
<meta property="og:site_name" content="Papyrus">
<meta property="og:description"
content="A free, open-source e-book reader and library manager. No subscriptions. No tracking. No lock-in.">
content="Organize physical and digital books with Papyrus, a free, open-source e-book reader and library manager. Read offline or sync across devices.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://papyrus-reader.com/">
<meta property="og:image" content="https://papyrus-reader.com/public/img/library.png">
<meta property="og:image:width" content="2560">
<meta property="og:image:height" content="1440">
<meta property="og:image:alt" content="The Papyrus library, showing physical books and ebooks together">
<link rel="canonical" href="https://papyrus-reader.com/">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebSite",
"@id": "https://papyrus-reader.com/#website",
"name": "Papyrus",
"alternateName": "Papyrus Reader",
"url": "https://papyrus-reader.com/",
"inLanguage": "en",
"about": { "@id": "https://papyrus-reader.com/#application" }
},
{
"@type": "SoftwareApplication",
"@id": "https://papyrus-reader.com/#application",
"name": "Papyrus",
"url": "https://app.papyrus-reader.com",
"description": "A free, open-source e-book reader and library manager for physical and digital books.",
"applicationCategory": "ReferenceApplication",
"operatingSystem": "Windows, Linux",
"browserRequirements": "A modern web browser for the web app.",
"downloadUrl": "https://github.com/PapyrusReader/client/releases/latest",
"screenshot": "https://papyrus-reader.com/public/img/library.png",
"license": "https://github.com/PapyrusReader/client/blob/master/LICENSE",
"isAccessibleForFree": true,
"offers": { "@type": "Offer", "price": 0 },
"sameAs": "https://github.com/PapyrusReader/client"
}
]
}
</script>
<link rel="icon" type="image/svg+xml" href="/public/favicon.svg">
<link rel="icon" type="image/png" href="/public/favicon-96x96.png" sizes="96x96">
<link rel="shortcut icon" href="/public/favicon.ico">
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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\"",
Expand Down
4 changes: 4 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://papyrus-reader.com/sitemap.xml
6 changes: 6 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://papyrus-reader.com/</loc>
</url>
</urlset>
Loading