Repository navigation
docs: 🔍 Verify the book in Google Search Console - #218
Merged
Merged
Conversation
The verification meta tag on the front page proves that the maintainer owns the site, so its search queries and the sitemap can be managed in Search Console. The tag is public by design, like every meta tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #216.
Change
Add the
google-site-verificationmeta tag to the front page of the book, so the maintainer can verify the site in Google Search Console as a URL-prefix property. It goes in the samehtml-page-contexthook that already handles the front page's title (renamedset_front_page_context()), and only on the front page.The tag's value is public by design (it is in the page's HTML), so it is fine to commit. Removing it later would unverify the site.
Check
-Wwithout warnings.index.htmland not on the other pages, and the front page's title is unchanged.After merge (maintainer)
sitemap.xmlunder "Sitemaps".🤖 Generated with Claude Code