From 835db9e10edd0c6fd22537bd2a1a5842e7d1bbd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Sat, 12 Aug 2023 22:01:20 +0200
Subject: [PATCH] fix block include

---
 home/templates/home/home_page.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html
index 1959d3c..557d74f 100644
--- a/home/templates/home/home_page.html
+++ b/home/templates/home/home_page.html
@@ -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>
-- 
GitLab