If you're using a base template, just put those block outside those with the 
main content. Eg:

base.html:
<!DOCTYPE html>
<html><head>...</head>
<body>
  {% block content %}{% endblock %}
</body>
</html>

child.html:
{% extends "base.html" %}

{% block helper_content %}
lalala
{%- endblock %}

{% block page_content %}
  <h1>Welcome</h1>
  <p>{{ self.helper_content() }}
{%- endblock %}

J.

On Feb 25, 2013, at 4:03 PM, Sergei Gnezdov <[email protected]> wrote:

> That worked well with one exception. I now have two copies of the same 
> content. Is there a way to mark block as invisible?

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to