Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Oct 24, 2025

Overview

Allow serving a page with no header and no footer.

Changes

  • adds template content.html
  • adds blocks header and footer
    so they can be emptied by the new template

Testing

  1. In settings_custom.py or settingslocal.py, add:
    CMS_TEMPLATES = (
        ...
        ('content.html', 'Content Only'),
    )
  2. Open any page that has content.
  3. Append ?template=content.html&toolbar_off to the URL.
  4. Verify page header and page footer are not shown.

UI

normal URL ?template=content.html
baseline test

@wesleyboar wesleyboar merged commit 2f5e03a into stable Oct 24, 2025
@wesleyboar wesleyboar deleted the feat/serve-page-with-no-header-nor-footer branch October 24, 2025 20:48
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.

2 participants