Skip to content

Allow templates to use external ressources (css/imgs). #415

Description

@ArKam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions