ietf-tools / www

A customized CMS for the IETF website
BSD 3-Clause "New" or "Revised" License
22 stars 45 forks source link

fix: BlogPage may only be created under BlogIndexPage #401

Closed mgax closed 2 months ago

mgax commented 3 months ago

Fix https://github.com/ietf-tools/www/issues/337. Fix https://github.com/ietf-tools/www/issues/271.

The blog page template depends on its parent page being a BlogPageIndex, so it crashes if its parent is anything else.

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.73%. Comparing base (4ad3143) to head (336946f). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #401 +/- ## ========================================== + Coverage 82.72% 82.73% +0.01% ========================================== Files 124 124 Lines 2599 2601 +2 ========================================== + Hits 2150 2152 +2 Misses 449 449 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.