# j2 child template renders but parent does not

**URL:** <https://forum.ansible.com/t/j2-child-template-renders-but-parent-does-not/38821>\
**Category:** Ansible Project\
**Created:** [July 2, 2024, 11:58pm UTC](https://forum.ansible.com/t/j2-child-template-renders-but-parent-does-not/38821 "2024-07-02T23:58:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darkhan](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Post date:** [July 2, 2024, 11:58pm UTC](https://forum.ansible.com/t/j2-child-template-renders-but-parent-does-not/38821/1 "2024-07-02T23:58:31Z")

</div>

Hello,

I have a j2 template that looks like this:

---

<div class="post-metadata">

**Author:** ![Darkhan](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Post date:** [July 3, 2024, 12:20am UTC](https://forum.ansible.com/t/j2-child-template-renders-but-parent-does-not/38821/2 "2024-07-03T00:20:24Z")

</div>

Forgot to add: ansible version 2.14.3, jinja2 version 2.10.1
