Skip to content

Regex is not compatible when absolute_urls: true is set. #12

@mdonadio

Description

@mdonadio

Grav version: 1.3.10
CDN version: 1.4.0

If a Twig template uses the url() function to reference an asset, eg

<link rel="icon" type="image/png" sizes="32x32" href="{{ url('theme://images/favicon/favicon-32x32.png') }}">

then the final URL doesn't get updated to point to the CDN.

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