Hi,
I am using Flask and Jinja2
I want to use a variable inheritance, I don't know if it is possible
The goal is the following :
<html>
<head>
<title>
{% if title is not None %}
{{ title }} -
{% endif %}
WebsiteName
</title>
</head>
<body>
...
(note the dash)
and in an implementation {% title = 'Hello World' %}
Thanks for your help
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" 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/pocoo-libs?hl=en.