Change titlebar text when page title is known

This commit is contained in:
Yusur 2021-03-15 22:11:10 +01:00
parent 0394e4b0d4
commit 855066858a

View file

@ -1,6 +1,13 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}Edit note - {{ app_name }}{% endblock %}
{% block title %}
{% if pl_title %}Editing “{{ pl_title }}”
{% else %}Edit note{% endif %}
- {{ app_name }}
{% endblock %}
{% block json_info %}<script>window.page_info={{ ( pl_js_info or {} )|tojson|safe }};</script>{% endblock %}
{% block content %} {% block content %}