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

fix block include

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