mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 04:43:58 +00:00
* blog: honor canonical_url so guest posts point at their source 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 * blog: author is jsonb, render a name not [object Object] The blog_posts.author column is jsonb (e.g. { name, url }), not text. Extract a display name for the byline and JSON-LD instead of rendering the object directly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MxNif5tsYq4LczgG7aE8Jp --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| contract | ||
| e2e | ||
| public | ||
| src | ||
| .gitignore | ||
| next.config.ts | ||
| package.json | ||
| playwright.config.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||