Skip to content

fix: point /log/ canonical at the home#14

Merged
tieubao merged 2 commits into
mainfrom
fix/log-canonical
Jun 28, 2026
Merged

fix: point /log/ canonical at the home#14
tieubao merged 2 commits into
mainfrom
fix/log-canonical

Conversation

@tieubao

@tieubao tieubao commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

#2 of the home//log/ cleanup. The log renders at both / and /log/ (a duplicate; full /log/ removal is blocked by the toolchain, tracked as #3 in de-obsidian). Neutralize the SEO duplicate by pointing /log/'s canonical at /.

  • header.html: a reusable $canonical that honors a front-matter canonical: override (also used for og:url + twitter:url); defaults to the page's own permalink (inert for all other pages).
  • (content PR) blog/log.md: canonical: /.

Verified: /log/ canonical + og:url -> https://log.console.so/; /shape-up/ + /console-log-2026-06/ keep their own URLs (no regression). Proof: docs/verification/log-canonical.md. Pairs with content PR (log.md).

🤖 Generated with Claude Code

tieubao and others added 2 commits June 28, 2026 14:52
… url

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tieubao tieubao merged commit 728ebb5 into main Jun 28, 2026
1 check passed
@tieubao tieubao deleted the fix/log-canonical branch June 28, 2026 07:54
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