{# Namespaced under `notes/` so that two installed apps can both ship an index.html without colliding. Extends `base.html`, which resolves to the site's chrome if it has any and to podpack's default if it has not -- the plugin never has to know which. #} {% extends "base.html" %} {% block content %} {% if welcome %}
{{ welcome }}{% endif %}
You have no notes yet.
{% endif %}These are yours alone. Post one with
curl -X POST -H 'Content-Type: application/json' -H "Authentication-Token: $TOKEN" -d '{"text":"hello"}' /notes/
— flask-security issues $TOKEN in reply to a JSON POST to /login?include_auth_token.