The 3rd paragraph on the page states:
Our
<.header>function invocation in the index template doesn’t make use of the<:subtitle>slot, so the header/1 function component has nothing to render when it calls<%= render_slot(@inner_block) %>.
The <%= render_slot(@inner_block) %> in that paragraph should be replaced with <%= render_slot(@subtitle) %>