{% extends "base.html" %} {% block title %}{{ page.title }} — Waikiki{% endblock %} {% block topbar_actions %}{% if not trashed %}{% include "_page_options.html" %}{% endif %}{% endblock %} {% block content %}
{% if trashed %} {% endif %} {% if crumbs %} {% endif %}

{{ page.title }}

{% if not trashed %} {# The article's one link to its own past (issue #73). Version history is this app's undo, and nothing here used to name it — the safety net was real and unreachable, which for the person who needs it is the same as not having one. Same convention as the MCP `hint`: say what is not in front of you, then the single move that fetches it, and only when it is true. So a page that has been edited says when and opens the history itself; a page that never has says so plainly rather than offering a door to an empty room. #}

{% if version_count and version_count > 1 %}{% set earlier = version_count - 1 %} Edited {{ last_changed | ago }} — {{ earlier }} earlier version{{ 's' if earlier != 1 }} you can go back to {% else %} Written {{ last_changed | ago }} — no earlier versions yet {% endif %}

{% endif %} {% if parent %}

↳ child of {{ parent.title }}

{% endif %} {% if tags %}
{% for t in tags %}{{ t }}{% endfor %}
{% endif %} {% if toc and toc | length >= 2 %}
Contents
{% endif %}
{{ page.html | safe }}
{% if children %}
Sub-pages ({{ children | length }})
{% endif %}
{% endblock %}