My main HTML layout looks like that :
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% block title 'Default title - example.com' %}</title>
I want to have only to write this in my controller layout :
{% block title %}My title{% endblock %}
instead
{% block title %}My title - Default title - example.com{% endblock %}
Ton render this HTML :
<title>My title - Default title - example.com</title>
How can I do this ?
--
Christophe
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en