{# Inline-edit slug cell. Display renders a with the slug; double-click / focused-Enter swaps to edit mode. The slug rename hits the existing on_post_updated hook so the redirects plugin auto-inserts a 301 from the old URL. #} {% if mode == 'edit' %}
{% if error %}
{{ error }}
{% endif %}
⏎ save · esc cancel
{% else %} {{ post.slug }} {% endif %}