I am using Bolt CMS
in one of my pages and when including my style files or my javascript
there is a part of the link that is duplicated, then it does not find the files.
In Bolt
Symfony
is used so I include them with assets
like the following:
{{ asset('css/bootstrap.css', 'theme') }}
When I run it I would have to take me to:
localhost/bolt/public/theme/base-2016/css/bootstrap.css
But instead it's taking me to:
localhost/bolt/public/bolt/public/theme/base-2016/css/bootstrap.css
as you see the part " bolt/public
" is duplicated.
The location of " theme
" leaves it by default and when I tried to change it from a file called config.yml
, something similar happened to me.