{%- macro breadcrumbs(repo_path, query) -%} path:  {{ repo.display() }} {%- for child in repo_path.ancestors().collect_vec().into_iter().rev() -%} {%- if let Some(file_name) = child.file_name() -%} / {{- file_name.to_string_lossy() -}} {%- endif -%} {%- endfor -%} {%- endmacro -%}