Seed all posts as admin + add a full-bleed splash page
Seed all posts as admin + add a full-bleed splash page
#56 in Riparion/riparion-cms — merged 2026-06-03
Summary
- Attribute every seeded post to the admin account — both the help-doc tour posts and the Rust MDX demos — replacing the per-author round-robin. The
ada/linusdemo authors are still seeded (profiles, avatars, JSON-LD) and remain the round-robin pool for comment attribution variety. - Seed one published, full-bleed page at
/splash(ScreenLayout::FullBleed, singlemainregion) whose body is a bare[[/splash cta="Continue" href="/blog" animate="rise"]]embed.- Omitting
title/subtitlemakes the hero fall back to the site's configured title/tagline, so it tracks header branding live. - The page is admin-owned via an
arium_resource_members'page'row, mirroring the real page-create path so per-page edit checks resolve.
- Omitting
Notes
- Seeding only runs on an empty blog (
run_if_emptygates onposts > 0), so existing databases are unaffected.
Verification
cargo fmt --all -- --checkcargo clippy --no-default-features --features server,{sqlite,postgres} --all-targets -- -D warnings(both backends)cargo clippy --no-default-features --features web --target wasm32-unknown-unknown -- -D warnings -A dead_code
🤖 Generated with Claude Code
Last updated 2026-06-04
Links to this note
Credits
Merged pull requests, newest first.