The documentation says
supports tokens for
a theme/module.
...
url(image.jpg) in css will be compiled to
url(modules/custom/my_module/assets/image.jpg);
but in fact, it resolves to
url(/modules/custom/my_module/assets/image.jpg);
This will only work if the site is installed at the root.
in scss, add
background-image: url(../images/logo/logo.svg);
in libraries.yml, add
theme/sass/style.scss:
assets_path: '@mymodule/assets/'
the output is
background-image: url("/modules/custom/mymodule/assets/../images/logo/logo.svg");
Generate full urls for the assets ?
Active
1.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.