{% if src_ref %}
{{ src_ref | source_link(item_name=item_name | default(value="item")) }}
{% elif route.src_ref %}
{{ route.src_ref | source_link(item_name=route.path | default(value="route")) }}
{% elif component.src_ref %}
{{ component.src_ref | source_link(item_name=component.name | default(value="component")) }}
{% elif page.src_ref %}
{{ page.src_ref | source_link(item_name=page.path | default(value="page")) }}
{% endif %}
