{% if can_read %}
  • View
  • {% endif %} {% if can_write %}
  • Edit
  • {% endif %} {% if can_read %}
  • History
  • {% endif %} {% if can_write %}
  • Settings
  • {% endif %}
  • Child Pages
    {% for child in page.children %} {{child}} {% endfor %} {% if can_write %}
    {% endif %}