Is it posible to have a

<base href='myPageBase/' /> 

generated in the index.volt by using the default config? I would like to only set the base-tag once.

UPDATE solved it

I created a BaseController


use Phalcon\Mvc\Controller,

class ControllerBase extends Controller
    public function onConstruct(){
        $this->view->baseTag = Tag::tagHtml("base",array("href" => $this->url->getBaseUri()));

and used it in volt like this:

{{ baseTag }}

UPDATE 2 - even easier

<base href="{{ url.getBaseUri() }}"/>