{# Inline-edit slug cell for pages. #} {% if mode == 'edit' %}
{% if error %}
{{ error }}
{% endif %}
⏎ save · esc cancel
{% else %} {{ page.slug }} {# Only show the full path when it conveys more than the bare slug: nested pages (/parent/child/) or the home page (shadowed to /). For a plain root page the path is just //, which stacked under the slug reads as the page being nested under itself. #} {% if full_path and full_path != '/' ~ page.slug ~ '/' %}
{{ full_path }}
{% endif %} {% endif %}