Add JS page info

This commit is contained in:
Yusur 2021-03-14 22:50:49 +01:00
parent 2b7d990bb9
commit 0394e4b0d4
5 changed files with 25 additions and 5 deletions

View file

@ -2,6 +2,8 @@
{% block title %}{{ p.title }} - {{ app_name }}{% endblock %}
{% block json_info %}<script>window.page_info={{ p.js_info()|tojson|safe }};</script>{% endblock %}
{% block content %}
<h1>{{ p.title }}</h1>