mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 01:14:47 +00:00
A post syndicated from another blog carries the original URL in blog_posts.canonical_url (the autoblog webhook already stores it). The post page ignored it and always self-canonicalized, so a guest post would compete with its source for the same words. Now the page selects canonical_url and author, sets rel=canonical to the original when present (self otherwise), points JSON-LD mainEntityOfPage at it, and shows readers an "Originally published on <host>" line with the author byline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MxNif5tsYq4LczgG7aE8Jp |
||
|---|---|---|
| .. | ||
| contract | ||
| e2e | ||
| public | ||
| src | ||
| .gitignore | ||
| next.config.ts | ||
| package.json | ||
| playwright.config.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||