fix condition warning

This commit is contained in:
ghost 2024-02-13 23:34:17 +02:00
parent 6ea45f9c8e
commit 7f6ccf75df

View File

@ -38,7 +38,7 @@
| markdown_to_html | markdown_to_html
}} }}
</div> </div>
{% if post.tree | length %} {% if post.tree is defined and post.tree | length %}
{{ self.recursive_post_tree(mode, namespace, post.tree) }} {{ self.recursive_post_tree(mode, namespace, post.tree) }}
{% endif %} {% endif %}
</li> </li>