Templater and Obsidian API: list parent folders as internal links in note

Hey, This is really cool! Is it possible to use this in the middle of a template? When I try moving it lower in my template the resulting file still starts with the parent links and anything preceding this chunk does not get placed in the generated file but I’m not really sure how this works.