Skip to content

Leading slash causing problems with assets src #73

Open
@tobydallder

Description

@tobydallder

Displaying an image like...

img src=assets["/main/assets/main/images/study/undergraduate.jpg"]

will work fine locally but on staging/production the src doesn't get output at all as leads to images not displaying.

It's fixed though by removing the leading slash like this...

img src=assets["main/assets/main/images/study/undergraduate.jpg"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions