-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex is not compatible when absolute_urls: true
is set.
#12
Comments
The problem is that if system.yaml has |
absolute_urls: true
is set.
something like Grav: 1.5.8 |
OK, I see what the problem is with 'url()', the value does not need to be quoted and the Grav url() method doesn't include quotes. Unfortunately, your regex: |
Can I suggest the following for line 83: |
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.
The text was updated successfully, but these errors were encountered: