Skip to content

Theme toggle on 403 and 405 error pages is visible but non-functional #819

@Monica-CodingWorld

Description

@Monica-CodingWorld

Description

The 403 and 405 error templates now include the theme toggle and theme initialization, matching the other error pages.
However, clicking the toggle does not switch themes because these templates do not load /static/script.js.

Current state:

  • 403 page: toggle visible, not functional
  • 405 page: toggle visible, not functional
  • 404 page: toggle visible and functional
  • 500 page: toggle visible and functional

Expected behavior:

  • Theme toggle should behave consistently across all error pages.

Hi @komalharshita please assign this issue to @Monica-CodingWorld me

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions