{{ base_url_relative}} is empty

where the variable must be entered? http://daniel-hamann.lima-city.de/blog/

Try doing a clear-cache. That value should be automatically generated now based on your server environment Grav 0.9.6. You may have that configuration cached.

BTW, your site is looking for for me. Any specific issue you are seeing?

what do you mean?

cach is emptied, behavior remains the same.

What behavior?


Please try to be descriptive as possible so I can determine what the issue is.

{{ config.site.title }} from base.html.twig is empty when I open the page in a browser:

            <div id="logo">
                <h3><a href="">Daniel Hamann</a></h3>
            <div id="navbar">

Bildschirmfoto 2014-11-20 um 17

Ok, so your expecting base_url_relative be / and it is infact ``. Got it.

I shall look into this. We did change where the base_url was being set, and this might of effected it, but I’ll have to debug it. Thanks.

thx, so far nice work - Grav is wonderful !

Ok, had to dig through some commits to work out what’s going on here. Actually in your instance base_url_relative is intentionally empty, because your are not running in a sub-folder. However the problem lies in the fact that I erroneously changed the Antimatter theme to use relative, when it was using base_url_absolute before. I will revert that change to the Anitmatte, but you can just fix it by changing it in your theme: user/themes/antimatter/templates/partials/base.html.twig

Actually on further reflection, I’m just going to update Antimatter with a check to see if the base_url (same as base_url_relative by default) is empty, then i’ll add a / else it will use base_url:

<h3><a href="{{ base_url == '' ? '/' : base_url }}">{{ config.site.title }}</a></h3>

Not quite as clean, but this is safer and more descriptive.