why the volt would auto include the 'index.volt'

why the volt would auto include the 'index.volt' ? I don't like Phalcon auto include this index.volt . How to set up ?

index.volt content: <!DOCTYPE html> <html> <head> <title>Phalcon PHP Framework</title> </head> <body> {{ content() }} </body> </html>



30.7k

hhmm, I'm not sure that I understand exactly your question.

Usually most websites use <html><head>...</head><body> ...<body></html> tags So, index.volt, looks IMHO quiet well (pre)formatted ;-) But, if it doesn't fit your needs, you can customize it the way you like it! And if you need more flexibility in the template rendering, this part of the documentation could help you: http://docs.phalconphp.com/en/latest/reference/views.html#using-templates

I get it . Thank you ! Your understanding is right . I'm chinese . (My English is poor)