Skip to content

Fix blog full-text links to use valid summary anchors - #2221

Merged
lotem merged 1 commit into
rime:masterfrom
hezhizhen:codex/fix-blog-full-text-links
Oct 17, 2026
Merged

lotem merged 1 commit into
rime:masterfrom
hezhizhen:codex/fix-blog-full-text-links

Conversation

@hezhizhen

Copy link
Copy Markdown
Contributor

The blog's “全文” links currently append a nonexistent #more fragment, so clicking them opens the article without jumping past its summary.

Use #continue-reading only when page.summary exists, as documented by Zola. Posts without summaries link directly to the article instead of an absent anchor.

Validation: built the full site with the CI-pinned Zola 0.22.1 and checked all 19 “全文” links across both blog pages: 17 summary anchors and 2 direct article links. All 19 fragments were invalid before the change; all targets resolve afterward. git diff --check also passes.

@lotem
lotem merged commit 4296cf0 into rime:master Oct 17, 2026
1 check passed
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.

2 participants