From e1c5a1a7e95e58759646ce7beef430991b09510e Mon Sep 17 00:00:00 2001 From: FROWNINGdev <218313741+FROWNINGdev@users.noreply.github.com> Date: Mon, 28 Sep 2026 10:20:40 +0500 Subject: [PATCH] seo: point /README.html's canonical at the homepage The README renders twice on Pages, as / and as /README.html, each declaring itself canonical. Google saw two identical pages competing for the same queries; both now name the homepage as canonical. --- _config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_config.yml b/_config.yml index 36b8d5e..b548b00 100644 --- a/_config.yml +++ b/_config.yml @@ -43,6 +43,13 @@ defaults: path: "" values: image: https://frowningdev.github.io/django-orm-lens/media/hero.png + # README.md is served twice: as the homepage and again as /README.html. Both + # point their canonical at the homepage so search engines treat them as one + # page instead of two competing duplicates. + - scope: + path: "README.md" + values: + canonical_url: https://frowningdev.github.io/django-orm-lens/ # jekyll-sitemap publishes /sitemap.xml, the file search consoles take to # discover and recrawl the site. jekyll-seo-tag is named explicitly rather than