You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I was working on a template that I would like to contribute to you and find out that all ressources needs to be embedded onto the html page itself.
Althrough it's doable, it would make that page almost unreadable as the CSS part for this page is rather lengthy.
Context
Sablier version: [beta-1.8.22]
Provider: [kubernetes v1.29.9]
Reverse proxy: [Traefik v2.8.5]
Sablier running inside a container? yes
Expected behavior
The template renderer should have another css/imgs handler and allow for those ressources to be imported instead of embedded.
Additional context
I use a pretty standard structure with theme.html page and css/index.css and imgs/logo.png + imgs/favicon.png
Let me know if you need further informations such as a public copy of the theme etc.
The text was updated successfully, but these errors were encountered:
Hi Alexis,
From a code standpoint, goTemplate and embed could load them if an new handler is added, however I can see the troubles that such thing can bring to sablier.
If I correctly understand your idea, we still continue to bring the html/css/imgs and then have sablier will create a bundeled single page at loading time right? If so yes that would make sense to me.
Another approach that you could leverage would be the same as the one taken by traefik error page middleware that indeed leverage external services to host the pages.
Describe the bug
I was working on a template that I would like to contribute to you and find out that all ressources needs to be embedded onto the html page itself.
Althrough it's doable, it would make that page almost unreadable as the CSS part for this page is rather lengthy.
Context
Expected behavior
The template renderer should have another css/imgs handler and allow for those ressources to be imported instead of embedded.
Additional context
I use a pretty standard structure with theme.html page and css/index.css and imgs/logo.png + imgs/favicon.png
Let me know if you need further informations such as a public copy of the theme etc.
The text was updated successfully, but these errors were encountered: