preview does not show blog description on home page #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
there is a blog description in the database, but the home page on the preview server shows the title for the main home page as empty instead of the blog descrption. This might also happen during rendering, I did not test that, I only tested preview.
Implemented and pushed as
dc11155.List-page rendering now resolves the blog document title through one shared bDS2-compatible rule: a nonblank trimmed blog description wins, otherwise the trimmed blog name is used. The resolved title is supplied to every home, pagination, category, tag, year, month, and day list route in all languages. Archive-specific labels remain in archive_context for their visible headings. Preview and generation use the same route builder, and the standalone starter-list renderer uses the same resolver.
Verification: added red/green tests for description precedence and blank-description fallback, plus preview/generation parity across every list-route family and second-page pagination; cargo fmt --all; git diff --check; cargo build --workspace; cargo clippy -p bds-core --all-targets -- -D warnings; cargo test --workspace (all passed, 3 ignored); allium check specs; and allium analyse specs.
A neutral post-implementation review against the issue, bDS2 Rendering.Metadata.blog_page_title and its page-title parity tests, and the Allium template-context/shared-render-path rules found no incomplete behaviour.