Saving will demote {{ swap_target.title }}
(slug {{ swap_target.slug }}) from post_index
to static. Post URLs on this site will move from that page's
path to this page's path; a prefix 301 will be inserted to
cover the change.
Cancel by going back; confirm by saving again below.
{% endif %}
{% if demotion_pending %}
Confirm post_index demotion
This is the only post_index page on the site. Demoting it to
static removes the public post URLs from this site:
{% if demotion_post_count %}
{{ demotion_post_count }} published post{% if demotion_post_count != 1 %}s{% endif %}
will become unreachable until another page is promoted to
post_index.
{% else %}
no posts are published yet, but any posts created later will
have no public URL until another page is promoted to
post_index.
{% endif %}
Cancel by going back, or promote another page to post_index
first; confirm by saving again below.
{% endif %}
{% if not is_edit %}
{% endif %}
{# Resume-source plugin widgets (LinkedIn upload, etc.) live OUTSIDE the
page-edit form because they post to their own endpoints with their own
prematurely closes the outer
form, orphaning every input below it (status, kind, show_in_nav, ...).
Saving in that state silently wipes the orphaned fields back to their
defaults (kind -> static, status -> draft). Keep these contributions
OUTSIDE the main form. #}
{% if is_edit and current_kind == 'resume' %}
{% for partial_path in resume_admin_extras() %}
{% include partial_path %}
{% endfor %}
{% endif %}
{% endblock %}