Skip to content
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

Assets manager URLs don't get replaced #13

Closed
mdonadio opened this issue Jan 2, 2018 · 2 comments
Closed

Assets manager URLs don't get replaced #13

mdonadio opened this issue Jan 2, 2018 · 2 comments

Comments

@mdonadio
Copy link
Contributor

mdonadio commented Jan 2, 2018

Grav version: 1.3.10
CDN version: 1.4.0

If a Twig template uses the asset manager, eg

{% block stylesheets %}
    {% do assets.addCss('theme://css/style-dist.css') %}
{% endblock %}
{{ assets.css() }}

then the final URLs don't get updated to point to the CDN. This appears to happen both with the pipeline on and off.

@mdonadio
Copy link
Contributor Author

mdonadio commented Jan 2, 2018

This may be the same root cause as #12, but created separate issues in case they aren't.

@mdonadio
Copy link
Contributor Author

mdonadio commented Jan 2, 2018

This is indeed the same problem as #12.

@mdonadio mdonadio closed this as completed Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant