Bolt cms doubles my path when I call my css and my js

0

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.

    
asked by Jose Pinto 30.11.2016 в 15:16
source

1 answer

1

The only way I found it quickly to make it work was to put links from the root without assets, like this:

<img src="/bolt/public/theme/metroProba/images/metroymedio.jpg" alt="Metro y Medio" /></a>
    
answered by 02.12.2016 в 00:27