We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

{{ content() }} Vokuro Example

Hi guys,

In the Vokuro example it seems {{content()}} is doing nothing. I have erased and nothing has changed. Besides, why some views like about don't use it?

Can someone explane it to me please?

https://github.com/phalcon/vokuro/blob/master/app/views/about/index.volt https://github.com/phalcon/vokuro/blob/master/app/views/index/index.volt

Felipe.

edited Nov '16

Vokuro Bootstrap defines:

    echo $application->handle()->getContent();

Which will output content.

https://github.com/phalcon/vokuro/blob/master/public/index.php#L41