-
Notifications
You must be signed in to change notification settings - Fork 683
Closed
Description
What happened?
Description
We wanted to style our 403.twig page, much like you'd do for a 404 page, but somehow none of the .js and .css files included with the {% js %} and {% css %} tags are being loaded. They just don't appear in the rendered HTML.
Steps to reproduce
- Create a basic html file and name it 403.twig, nothing fancy just a basic html page.
- Try to include one of the css files using a {% css %} tag
- Visit domain.com/403
Expected behavior
I'd expect the page to have some styling due to the loaded css file.
Actual behavior
No css file is loaded, the rendered HTML does not include the <link> tag.
Craft CMS version
4.5.11
PHP version
8.1
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
Reactions are currently unavailable