Skip to content

Allow array in stylesheets declarations in templates.json #9

@fdelaneau

Description

@fdelaneau

Instead of:

"help": {
    "stylesheets": [
        {
            "url": "/css/page.css"
        },
        {
            "url": "/css/factsheet.css"
        },
        {
            "url":  "/css/help.css"
        }
    ]
},

Allow the same format as for javascripts declarations:

"help": {    
    "stylesheets": [ 
        "/css/page.css",
        "/css/factsheet.css",
        "/css/help.css"
    ]
}

If possible allow a mix and match:

"help": {    
    "stylesheets": [ 
        {
            "media": "screen",
            "url":"/css/page.css"
        },
        "/css/factsheet.css",
        "/css/help.css"
    ]
}

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