Skip to content

SEO improvements for search engines and AI crawlers#15

Merged
driveton merged 4 commits intomainfrom
seo-improvements
Feb 24, 2026
Merged

SEO improvements for search engines and AI crawlers#15
driveton merged 4 commits intomainfrom
seo-improvements

Conversation

@driveton
Copy link
Copy Markdown
Owner

Summary

  • OG/Twitter meta tags on leaf pages — sections, pages, and picture leaves now produce rich social previews when shared. Title uses the existing page_title helper, description is pulled from the leaf content (section body, page text, or picture caption); image falls back to book cover or theme default.
  • Canonical URLs — added to both book show and leaf show pages so search engines know the authoritative URL.
  • /llms.txt — new dynamic endpoint (unauthenticated) listing all published books in the https://llmstxt.org Markdown format, including title, subtitle, and author. Helps AI crawlers understand site structure.

@driveton driveton merged commit 52d921f into main Feb 24, 2026
4 checks passed
@driveton driveton deleted the seo-improvements branch February 24, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant