guardian / guardian/dotcom-rendering

Cartoon fronts cards have incorrect design format

Open
#13,525 0 comments 0 reactions 0 assignees View on GitHub
fronts + curation
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

A Cartoon article has a design format of `PictureDesign`. For example, if you inspect the [json](https://www.theguardian.com/commentisfree/picture/2025/feb/25/whats-the-secret-to-duttons-polling-success.json) in this [article](https://www.theguardian.com/commentisfree/picture/2025/feb/25/whats-the-secret-to-duttons-polling-success), you see that `"format": { "design": "PictureDesign", ... }`.

However, when a cartoon card is used on a front, it's design format is `Standard` instead of `Picture`.

This [PR](https://github.com/guardian/dotcom-rendering/pull/13475) is a workaround to this issue, as we should be able to use `article.format`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.