Swig doesn't render some partials in my view. How to pass `block`s the right way? What file should extend what?

I have such a structure of my view:

```
// files
header.html   // <- partial
header_logo.html   // <- partial
layout.html   // <- layout
index.html   // <- page

```

**index.html** is the one that Swig renders. It looks like this:

```
{% extends 'layout.html' %}
{% extends 'header.html' %}
{% extends 'header_logo.html' %}

{% block head %}
    {% parent %}
    <link href="/assets/css/index/index.css" rel="stylesheet">
{% endblock %}

{% block content %}

     {% block header_logo %}{% endblock %} // <- This one doesn't render

     .... html content code goes here ....
{% endblock %}

```

**layout.html** looks like this:

```
<!DOCTYPE html>
<html lang="en">
  <head>
    {% block head %}
        <link href="/assets/css/index/layout.css" rel="stylesheet">
    {% endblock %}
  </head>
  <body>

    {% block header %}{% endblock %}

    {% block content %}{% endblock %}  

  </body>
</html>

```

**header.html** looks like this:

```
{% extends 'layout.html' %}

{% block header %}
    ... html code goes here ...
{% endblock %}

```

**header\_logo.html** looks like this. And this one doesn't render.

```
{% extends 'layout.html' %}

{% block header_logo %}
    ... html code goes here ...
{% endblock %}

```