diff --git a/blueprints/api.py b/blueprints/api.py index e34a9bc..40bad69 100644 --- a/blueprints/api.py +++ b/blueprints/api.py @@ -432,6 +432,7 @@ def api_new_note() -> _Response: attributedTo=MY_PERSON.id, cc=list(set(cc)), to=list(set(to)), + summary=_user_api_arg("summary", default=""), content=content, tag=tags, source={"mediaType": "text/markdown", "content": source}, diff --git a/templates/new.html b/templates/new.html index f422de1..7db41b0 100644 --- a/templates/new.html +++ b/templates/new.html @@ -23,13 +23,15 @@
- {% for v in visibility %} {% endfor %} {% if reply %}{% endif %} +

+

{% for emoji in emojis %} {{ emoji | emojify | safe }} @@ -39,7 +41,7 @@ {% endfor %}

- + {% if request.args.get("question") == "1" %}