Skip to content
Snippets Groups Projects
Commit 835db9e1 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

fix block include

parent dcfa174d
No related branches found
No related tags found
No related merge requests found
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
{% if block.block_type == "person" %} {% if block.block_type == "person" %}
{% include_block block %} {% include_block block %}
{% else %} {% else %}
{% include "home/blocks/person_page_block.html" with page=block %} {% include "home/blocks/person_page_block.html" with page=block.value %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
{% if block.block_type == "person" %} {% if block.block_type == "person" %}
{% include_block block %} {% include_block block %}
{% else %} {% else %}
{% include "home/blocks/person_page_block.html" with page=block %} {% include "home/blocks/person_page_block.html" with page=block.value %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
{% if block.block_type == "person" %} {% if block.block_type == "person" %}
{% include_block block %} {% include_block block %}
{% else %} {% else %}
{% include "home/blocks/person_page_block.html" with page=block %} {% include "home/blocks/person_page_block.html" with page=block.value %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
...@@ -322,7 +322,7 @@ ...@@ -322,7 +322,7 @@
{% if block.block_type == "person" %} {% if block.block_type == "person" %}
{% include_block block %} {% include_block block %}
{% else %} {% else %}
{% include "home/blocks/person_page_block.html" with page=block %} {% include "home/blocks/person_page_block.html" with page=block.value %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment