Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: CMD-97 isolate breadcrumbs from content #870

Merged
merged 36 commits into from
Sep 13, 2024

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Sep 12, 2024

Overview

Allow News to be served without breadcrumbs and container.

How?
  • Isolate breadcrumbs from content.
  • Distinguish CMS content from app content.
Why?

Related

Changes

  • moved breadcrumbs from block "content" to new block "breadcrumbs"

Testing

  1. Verify a "Standard"-template Blog page still has breadcrumbs.
  2. Verify a "Fullwidth"-template Blog page now does not have breadcrumbs.
  3. Verify a "Standard"-template CMS page still has breadcrumbs.
  4. Verify a "Fullwidth"-template CMS page now does not have breadcrumbs.

UI

CMS Pages

Standard Full Width
870 - Standard 870 - Fullwidth

App Pages e.g. Blog

Standard Full Width
870 - Standard - News 870 - Fullwidth - News

wesleyboar and others added 30 commits July 19, 2024 15:54
NOT WORKING! Fails with:

> NoReverseMatch at /feed/
> '' is not a registered namespace
Fails, because it renders nothing.
Load `/blog/remote`.

BREAKING CHANGE: Changed `/blog` to `/blog/local`
⚠️ Does NOT render feed items.
This reverts commit 6bece39.

This did not fix anything. `SESSION_COOKIE_SECURE=False` is still required locally.
- ✓ fix links to articles
- ✓ fix pagination links
@wesleyboar wesleyboar changed the title feat: isolate breadcrumbs from content feat: CMD-97 isolate breadcrumbs from content Sep 12, 2024
@wesleyboar wesleyboar merged commit 0aad6ac into main Sep 13, 2024
@wesleyboar wesleyboar deleted the feat/isolate-breadcrumbs-from-content branch September 13, 2024 00:14
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.

1 participant